[PATCH] Adding an argument to Sleeping signal
hughsient at gmail.com
Wed May 4 05:35:56 PDT 2011
On 4 April 2011 21:29, Phillip Susi <psusi at cfl.rr.com> wrote:
> If you don't want to add an argument to the signal, is it possible to
> add it as an attribute instead? Or would that introduce a race
> condition between the attribute being updated, and the signal being
Sorry for the delay. I've applied the following patch:
Author: Richard Hughes <richard at hughsie.com>
Date: Wed Mar 30 15:09:57 2011 +0100
Add new NotifySleep() and NotifyResume() signals that include the sleep type
This allows session power managers to do different actions
depending on whether the user
is suspending or hibernating. This allows the session policy agent
to poke other things
(for instance, the screensaver) even if another process initiated the sleep.
This is based on a patch from Phillip Susi <psusi at cfl.rr.com>, many thanks.
I've marked the Sleeping and Resuming methods as deprecated, and
we can remove them when we finally release 1.0.0.
Thanks for your help,
More information about the devkit-devel