explorer.exe: Implement SC_SCREENSAVE by starting xdg-screensaver

Steven Edwards winehacker at gmail.com
Wed Sep 10 07:19:45 CDT 2008


On Wed, Sep 10, 2008 at 7:28 AM, Paul Chitescu <paulc at voip.null.ro> wrote:
> Changelog:
>        explorer.exe: Implement SC_SCREENSAVE by starting xdg-screensaver with option
> to lock the screen.
>
> The desktop window reacts to SC_SCREENSAVE by starting the screen saver, just
> like it happens in Windows. No action is taken (and returns FALSE) if running
> in a virtual desktop.
>
> Alternatively, a non-zero lparam is used to signal that the screen should be
> locked. This cooperates with the user32.dll patch that implements
> LockWorkStation(). This is an extension, there is no equivalent in Windows
> but all the programs I've seen that trigger the system screen saver set
> lparam=0.

You forgot to attach the patch. Also you can send both patches
together as one diff. There is no reason to split them up in this
case.

-- 
Steven Edwards

"There is one thing stronger than all the armies in the world, and
that is an idea whose time has come." - Victor Hugo



More information about the wine-devel mailing list