Commit 35bec2ed authored by Alexandre Julliard's avatar Alexandre Julliard

winex11: Ignore EnterNotify resulting from a pointer grab.

parent 8c910077
...@@ -1110,6 +1110,7 @@ void X11DRV_EnterNotify( HWND hwnd, XEvent *xev ) ...@@ -1110,6 +1110,7 @@ void X11DRV_EnterNotify( HWND hwnd, XEvent *xev )
if (!hwnd) return; if (!hwnd) return;
if (event->detail == NotifyVirtual || event->detail == NotifyNonlinearVirtual) return; if (event->detail == NotifyVirtual || event->detail == NotifyNonlinearVirtual) return;
if (event->window == x11drv_thread_data()->grab_window) return;
/* simulate a mouse motion event */ /* simulate a mouse motion event */
update_mouse_state( hwnd, event->window, event->x, event->y, event->state, &pt ); update_mouse_state( hwnd, event->window, event->x, event->y, event->state, &pt );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment