explorer.exe: Implement SC_SCREENSAVE by starting xdg-screensaver

Paul Chitescu paulc at voip.null.ro
Wed Sep 10 06:28:00 CDT 2008

	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 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: explorer_ScreenSaver.patch
Type: text/x-diff
Size: 1342 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080910/093ebf55/attachment.patch 

More information about the wine-patches mailing list