Re: Implement LockWorkstation using xdg-screensaver from explorer
"Steven Edwards" <winehacker(a)gmail.com> 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(a)winehq.org
On 7/27/07, Alexandre Julliard <julliard(a)winehq.org> wrote:
To be able to do that you need to send the request to the existing explorer process, not start a new one.
Is there any place where this is already done so I have an idea of how to connect to the existing process? Thanks Steven -- 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
"Steven Edwards" <winehacker(a)gmail.com> writes:
Is there any place where this is already done so I have an idea of how to connect to the existing process?
Some sort of SendMessage to the desktop window should do the trick. -- Alexandre Julliard julliard(a)winehq.org
On 7/27/07, Alexandre Julliard <julliard(a)winehq.org> wrote:
Some sort of SendMessage to the desktop window should do the trick.
Please ignore my other email to you. So something like this? Thanks for Vitaman on IRC for pointing out that spawnvp killed the calling process. -- 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
participants (2)
-
Alexandre Julliard -
Steven Edwards