Re: [PATCH] exit function
- From: Timo Korvola <Timo Korvola iki fi>
- To: sawfish-list gnome org
- Subject: Re: [PATCH] exit function
- Date: Mon, 16 Nov 2009 22:43:31 +0200
On Sunday 15 November 2009 20:55:49 Christopher Roy Bratusek wrote:
> Sawfish 1.6.0 provides reboot/shutdown menu-entries, but if you're
> not using KDE/GNOME it just plainly calls shutdown, which has
> several disadvantages (else it uses the logout dialog from KDE or
> GNOME):
If you are not using a session manager, you don't get session
management. Sawfish is a window manager, not a session manager. The X
reference implementation of session management is xsm, but desktop
environments provide their own session managers. Session management
uses a separate ICE-based protocol rather than the X protocol.
> First it delete-window-safely all windows
This approach appears unworkable. Delete-window-safely merely sends a
WM_DELETE_WINDOW client message to the window owner as specified in the
ICCCM. The owner may react by prompting the user, e.g., whether to save
changes, yes, no or cancel. If the user chooses cancel, the window is
not closed. The wm is not notified of this user interaction in any way.
So the wm would need to wait for the window to disappear to be sure that
no data is lost but it cannot wait for that because it might never
happen.
--
Timo Korvola <URL:http://www.iki.fi/tkorvola>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]