Module: wine Branch: master Commit: 6be2138da66db5d1a11787f705a32680c8e59560 URL: https://gitlab.winehq.org/wine/wine/-/commit/6be2138da66db5d1a11787f705a3268...
Author: Tim Clem tclem@codeweavers.com Date: Thu Nov 10 09:10:13 2022 -0800
winex11.drv: Don't ignore virtual EnterNotify events.
These represent the mouse entering a client window child, and if no MotionNotify events follow, we'll be left out of sync with X.
---
dlls/winex11.drv/mouse.c | 1 - 1 file changed, 1 deletion(-)
diff --git a/dlls/winex11.drv/mouse.c b/dlls/winex11.drv/mouse.c index 4edf9c9596c..ebc8be643af 100644 --- a/dlls/winex11.drv/mouse.c +++ b/dlls/winex11.drv/mouse.c @@ -1811,7 +1811,6 @@ BOOL X11DRV_EnterNotify( HWND hwnd, XEvent *xev )
TRACE( "hwnd %p/%lx pos %d,%d detail %d\n", hwnd, event->window, event->x, event->y, event->detail );
- if (event->detail == NotifyVirtual) return FALSE; if (hwnd == x11drv_thread_data()->grab_hwnd) return FALSE;
/* simulate a mouse motion event */