winex11: Ignore EnterNotify resulting from a pointer grab.

This commit is contained in:
Alexandre Julliard 2008-03-31 12:12:12 +02:00
parent 8c910077ae
commit 35bec2ed19
1 changed files with 1 additions and 0 deletions

View File

@ -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 );