Implement LockWorkstation using xdg-screensaver from explorer

Alexandre Julliard julliard at
Fri Jul 27 10:00:52 CDT 2007

"Steven Edwards" <winehacker at> writes:

> This time in explorer....
> With this patch, Process Explorer no longer crashes when locking the
> workstation from within the application. If xdg-screensaver is not
> present on the system, explorer simply returns in which case
> LockWorkstion thinks it still succeeded. I still like the idea of
> having our own screensaver for Desktop mode and running that when
> LockWorkstation is called. If this is accepted then I will either add
> a check for desktop mode to avoid the call to xdg-screensaver or write
> a wine scr that only runs in Desktop mode.

To be able to do that you need to send the request to the existing
explorer process, not start a new one.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list