[PATCH v4 4/6] winex11.drv: Do not set clipping_cursor when clip window map state changes
Rémi Bernon
rbernon at codeweavers.com
Fri Aug 30 05:18:01 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 | 3 ---
1 file changed, 3 deletions(-)
diff --git a/dlls/winex11.drv/event.c b/dlls/winex11.drv/event.c
index 59ab4ce4ce3..90f139dd0fa 100644
--- a/dlls/winex11.drv/event.c
+++ b/dlls/winex11.drv/event.c
@@ -986,7 +986,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;
@@ -1007,8 +1006,6 @@ static BOOL X11DRV_MapNotify( HWND hwnd, XEvent *event )
*/
static BOOL X11DRV_UnmapNotify( HWND hwnd, XEvent *event )
{
- if (event->xany.window == x11drv_thread_data()->clip_window)
- clipping_cursor = FALSE;
return TRUE;
}
--
2.23.0.rc1
More information about the wine-devel
mailing list