[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: screensaver and power manager dbus interfaces
From: William Jon McCann <mccann () jhu ! edu>
Date: 2006-06-01 14:22:08
Message-ID: 447EF810.5080000 () jhu ! edu
[Download RAW message or body]
Hi David,
David Zeuthen wrote:
> On Thu, 2006-06-01 at 10:07 -0400, William Jon McCann wrote:
>
>>Hi Waldo,
>>
>>Bastian, Waldo wrote:
>>
>>>The screensaver interface looks good. What is the use case for the
>>>"Poke" method?
>>
>>The Poke method is a way to simulate user input. It is the programmatic
>>equivalent to moving the mouse back and forth or hitting the Shift key
>>or something. If the screensaver is activated and the lock is enabled
>>then it will prompt for authentication. If the screensaver is activated
>>and the lock is disabled then it will deactivate the screensaver. If
>>the screensaver is not active (ie. blanked) then it will reset the idle
>>timers.
>
>
> Notably this is used by gnome-power-manager when resuming from a suspend
> state, yes?
>
> For example, the user opens the laptop lid (and is careful not to hit
> the keyboard or mouse), g-p-m gets notified and pokes the screensaver
> and either the session comes back (if lock is disabled) or the unlock
> dialog is shown. Without the poke this probably wouldn't happen.
Oh right Waldo asked for a use case. :)
Yes, your example is a good one.
Thanks,
Jon
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic