[PATCH] user32: Fix event queue congestion can cause WINPOS_WindowFromPoint is null.
Chao Long
longchao at uniontech.com
Wed Oct 20 22:31:22 CDT 2021
Signed-off-by: Chao Long <longchao at uniontech.com>
---
dlls/user32/input.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/user32/input.c b/dlls/user32/input.c
index b4e3579f5e8..b19fadbf195 100644
--- a/dlls/user32/input.c
+++ b/dlls/user32/input.c
@@ -1815,7 +1815,7 @@ TrackMouseEvent (TRACKMOUSEEVENT *ptme)
tracking_info.tme.dwHoverTime = 0;
}
- if (ptme->hwndTrack == hwnd)
+ if (ptme->hwndTrack == hwnd || (ptme->dwFlags & TME_LEAVE && hittest==HTNOWHERE))
{
/* Adding new mouse event to the tracking list */
tracking_info.tme = *ptme;
--
2.20.1
More information about the wine-devel
mailing list