9 Mar
2016
9 Mar
'16
9:02 a.m.
On 8 March 2016 at 17:01, Jacek Caban <jacek(a)codeweavers.com> wrote:
Signed-off-by: Jacek Caban <jacek(a)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.)