[Vm-dev] New Windows VM: 4.0.1
John M McIntosh
johnmci at smalltalkconsulting.com
Tue Apr 6 17:35:53 UTC 2010
For scratch on the macintosh I had added a SqueakQuitOnQuitAppleEvent info.plist entry (in current VM).
So that if we see a quit application apple event which is the result of doing 'quit' via the dock, or shutdown, or logout.
The we just blow the VM away.
This was acceptable for the scratch folks...
Obviously a Squeak developer thinks he should get a chance to say yes/no save my image...
I could look into making it a close window type of event and see what happens if there is interest?
On 2010-04-06, at 3:35 AM, Bert Freudenberg wrote:
> On 28.03.2010, at 22:59, Andreas Raab wrote:
>> 1) The VM will now default to pass the window close event to the image instead of handling it directly. You can see that in a current trunk image by clicking on the close button (you'll now get a Squeak notifier instead of the previous VM notifier). The old behavior is still available if you SHIFT-Click on the close button. This is very useful if your image hangs.
> could you change the default for the Mac VM too? Both Linux and Windows VMs now deliver the window event rather than killing the image.
> For Etoys we use
> SqueakWindowAttribute <8200001f>
> in the VM's Info.plist. That at least enables the red window close button (though "Quit" from the dock menu does not work).
> - Bert -
John M. McIntosh <johnmci at smalltalkconsulting.com> Twitter: squeaker68882
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2445 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20100406/eea508c2/smime.bin
More information about the Vm-dev