Ticket #272 (closed usability: fixed)
Command-Q and third party window managers
|Reported by:||ken@…||Owned by:||jeremyhu@…|
|Priority:||Nice to Have||Milestone:||2.4.0|
When I'm using QuartzWM and hit Command-Q, a nice window pops up asking me if I'm sure I want to quit X11. When I'm using another window manager (fvwm) and accidentally hit Command-Q, all 20 of my X11 windows disappear and I end up swearing very loudly.
Is there a way to get that pop-up to appear for other window managers?
Then Jeremy wrote:
Hmm... possibly... essentially what happens is:
You press command-q We then check a 'can_quit' flag to determine if we have open windows:
can_quit is initialized to true in QuartzInitInput() and is modified through the AppleWM protocol extension.
quartz-wm manages setting it to true or false based on the number of open windows. This logic can probably be changed to
initialize can_quit to false when quartz-wm starts, have it set can_quit to true