Re: [PATCH 5/5] user32: Implement better stub of OpenInputDesktop.

2013-10-10 Thread Qian Hong
Hi Vincent, Thanks a lot for the advice, I'll try that. On Thu, Oct 10, 2013 at 12:41 AM, Vincent Povirk 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

Re: [PATCH 5/5] user32: Implement better stub of OpenInputDesktop.

2013-10-09 Thread Vincent Povirk
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. One possible strategy would be to implement SwitchDesktop in user32 and wineserver. Wineserver could logically track the input desktop, and OpenInputDesktop

Re: [PATCH 5/5] user32: Implement better stub of OpenInputDesktop.

2013-10-08 Thread Qian Hong
Hello, this patch is in pending status, is there any way I can improve it? IMO there is no way to 'correctly' implement OpenInputDesktop before implementing SwitchDesktop, as far as SwitchDesktop is a stub, it is safe to assume that OpenInputDesktop will always return either NULL or Winsta0/Defaul