[Vm-dev] Fwd: Linux desktop manager Close Window is dangerous.
John M McIntosh
johnmci at smalltalkconsulting.com
Wed Aug 29 16:42:07 UTC 2007
How is this different than sending an event type 5 (window event)
with a subtype of 2 (WindowEventClose)
Well unless the idea is that you can close the main squeak window and
squeak will keep running.
On Aug 29, 2007, at 8:20 AM, Ian Piumarta wrote:
>
>
> Begin forwarded message:
>
>> From: vm-dev-owner at lists.squeakfoundation.org
>> Date: August 29, 2007 7:42:47 AM PDT
>> To: piumarta at gmail.com
>> Subject: Re: Linux desktop manager Close Window is dangerous.
>>
>> You are not allowed to post to this mailing list, and your message
>> has
>> been automatically rejected. If you think that your messages are
>> being rejected in error, contact the mailing list owner at
>> vm-dev-owner at lists.squeakfoundation.org.
>>
>>
>> From: Ian Piumarta <piumarta at gmail.com>
>> Date: August 29, 2007 7:50:53 AM PDT
>> To: The general-purpose Squeak developers list <squeak-
>> dev at lists.squeakfoundation.org>
>> Cc: Squeak Virtual Machine Development Discussion <vm-
>> dev at lists.squeakfoundation.org>
>> Subject: Re: Linux desktop manager Close Window is dangerous.
>>
>>
>> This patch disables the title bar quit button (iff your window
>> manager participates in the WM_DELETE_WINDOW protocol) and causes
>> an event of type 6 to be sent to the image (in response to which
>> it should pop open the 'save changes before quit' dialogue -- an
>> SEP).
>>
>> If (1) several people report that this adequately addresses the
>> issue and (2) nobody else has claimed event type 6, then I'll
>> commit the changes and move the event type definition into sq.h
>> next to the others.
>>
>>
>> <quit.diff.gz>
>
--
========================================================================
===
John M. McIntosh <johnmci at smalltalkconsulting.com>
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
========================================================================
===
More information about the Vm-dev
mailing list