"Steven Edwards" winehacker@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.
On 7/27/07, Alexandre Julliard julliard@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" winehacker@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.
On 7/27/07, Alexandre Julliard julliard@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.