On 8 March 2016 at 17:01, Jacek Caban jacek@codeweavers.com wrote:
Signed-off-by: Jacek Caban jacek@codeweavers.com
If we call XGrabPointer on a window belonging to a different thread, we may end up handling its events with different display and being unable to associate X11 window with HWND.
Is calling SetCapture() on a window from a different thread really supposed to be valid? Assuming it is, wouldn't it then be easier to grab the window from the correct thread instead? (Similar to how e.g. WM_X11DRV_CLIP_CURSOR works.)