Linux desktop manager Close Window is dangerous.

Lex Spoon lex at lexspoon.org
Sun Sep 23 10:11:54 UTC 2007


Ian Piumarta <piumarta at gmail.com> writes:
> 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.


Nice!  That will make Squeak play a lot nicer with the
window system.  -Lex




More information about the Squeak-dev mailing list