PATCH - implement LockWorkStation using xdg-screensaver

Steven Edwards winehacker at
Sat May 12 11:49:10 CDT 2007

Hi Hans,

On 5/12/07, Hans Leidekker <hans at> wrote:
> How about the following patch? I added an option --lock to wineboot
> which does an execvp using the Unix search path. LockWorkStation
> then calls CreateProcess on "wineboot --lock", analogous to what
> ExitWindowsEx does.
> When running in a virtual desktop we should probably give precedence
> to a Windows screensaver.
> Changelog
>   Implement LockWorkStation using xdg-screensaver.

Your patch seems like a much better method to me. I'll merge in to my
tree and test with Process Explorer tonight.

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-patches mailing list