winex11.drv: Allow grabed window belonging to a different thread in send_mouse_input.

Jacek Caban jacek at
Tue Mar 8 10:01:46 CST 2016

Signed-off-by: Jacek Caban <jacek at>

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.
 dlls/winex11.drv/mouse.c  | 30 +++++++++++++++++++-----------
 dlls/winex11.drv/window.c |  5 ++++-
 dlls/winex11.drv/x11drv.h |  1 +
 3 files changed, 24 insertions(+), 12 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winex11.drv-Allow-grabed-window-belonging-to-a-differ.diff
Type: text/x-patch
Size: 3546 bytes
Desc: not available
URL: <>

More information about the wine-patches mailing list