[PATCH v3 1/6] winex11.drv: Do not set clipping_cursor when clip window is mapped

Rémi Bernon rbernon at codeweavers.com
Thu Jun 27 09:30:10 CDT 2019


This flag should only indicate a successful call to XGrabPointer. If not
then we could assume we have ownership of the pointer when we don't.

Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
---
 dlls/winex11.drv/event.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dlls/winex11.drv/event.c b/dlls/winex11.drv/event.c
index 5c465aa0335..96ccbea5458 100644
--- a/dlls/winex11.drv/event.c
+++ b/dlls/winex11.drv/event.c
@@ -934,7 +934,6 @@ static BOOL X11DRV_MapNotify( HWND hwnd, XEvent *event )
 
     if (event->xany.window == x11drv_thread_data()->clip_window)
     {
-        clipping_cursor = TRUE;
         return TRUE;
     }
     if (!(data = get_win_data( hwnd ))) return FALSE;
-- 
2.20.1




More information about the wine-devel mailing list