Hi Vincent, Thanks a lot for the advice, I'll try that.
On Thu, Oct 10, 2013 at 12:41 AM, Vincent Povirk <madewokh...@gmail.com> wrote: > I don't think it's possible to properly implement SwitchDesktop in > either the X11 or Mac driver. There's just nothing sensible for it to > do. > That's one reason that I didn't try to implement SwitchDesktop, I was not very sure about this, thanks for confirming. > One possible strategy would be to implement SwitchDesktop in user32 > and wineserver. Wineserver could logically track the input desktop, > and OpenInputDesktop would return the "correct" desktop, but > SwitchDesktop wouldn't really do anything. If in the future we decide > there's something SwitchDesktop can do that makes sense, we can add a > function for it to the user driver, and OpenInputDesktop probably > won't need to change. I ever though about this, but gave up. After more thought, I agree that this is a better approach, thanks again! -- Regards, Qian Hong - http://www.codeweavers.com