From 35bec2ed19cc5ce5cc8d4dda0e04bd082e8be27d Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 31 Mar 2008 12:12:12 +0200 Subject: [PATCH] winex11: Ignore EnterNotify resulting from a pointer grab. --- dlls/winex11.drv/mouse.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/winex11.drv/mouse.c b/dlls/winex11.drv/mouse.c index 8301386571f..8e8d5f5784d 100644 --- a/dlls/winex11.drv/mouse.c +++ b/dlls/winex11.drv/mouse.c @@ -1110,6 +1110,7 @@ void X11DRV_EnterNotify( HWND hwnd, XEvent *xev ) if (!hwnd) return; if (event->detail == NotifyVirtual || event->detail == NotifyNonlinearVirtual) return; + if (event->window == x11drv_thread_data()->grab_window) return; /* simulate a mouse motion event */ update_mouse_state( hwnd, event->window, event->x, event->y, event->state, &pt ); -- 2.11.4.GIT