Linux desktop manager Close Window is dangerous.

Ian Piumarta piumarta at gmail.com
Wed Aug 29 14:50:53 UTC 2007


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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: quit.diff.gz
Type: application/x-gzip
Size: 1189 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20070829/f8086c00/quit.diff.bin


More information about the Squeak-dev mailing list