[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNUstep and session management
From: |
Roman Belenov |
Subject: |
Re: GNUstep and session management |
Date: |
Thu, 06 Oct 2005 18:28:57 +0400 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.2 (windows-nt) |
"Chris Vetter" <cbv@gmx.net> writes:
> They usually offer something like "Log out" -- sending a "power
> off" note would be the only *clean* way of letting other applications know
> that the user is about to log out (ie. terminate the workspace, which would
> normally result in 'killing' everything else unless you still would have to
> 'shut down' the window manager)
>
> Or, again, use -launchedApplications, then iterate through the array and try
> sending a termination.
Mac OS X seems to do both.
http://developer.apple.com/releasenotes/Cocoa/AppKitOlderNotes.html says:
Applications that need to distinguish between a termination associated with
the end of a login session and a termination through a Quit (or Exit) command
could do this by registering for the NSWorkspaceWillPowerOffNotification. This
notification is posted prior to calling applicationShouldTerminate:.
--
With regards, Roman.
- Re: GNUstep and session management, Fred Kiefer, 2005/10/03
- Re: GNUstep and session management, Roman Belenov, 2005/10/06
- Re: GNUstep and session management, Sašo Kiselkov, 2005/10/06
- Re: GNUstep and session management, Roman Belenov, 2005/10/06
- Re: GNUstep and session management, Richard Frith-Macdonald, 2005/10/06
- Re: GNUstep and session management, Roman Belenov, 2005/10/06
- Re: GNUstep and session management, Richard Frith-Macdonald, 2005/10/06
- Re: GNUstep and session management, Roman Belenov, 2005/10/06
Re: GNUstep and session management, Richard Frith-Macdonald, 2005/10/06
Re: GNUstep and session management, Markus Hitter, 2005/10/06