[PATCH] user32: Fix event queue congestion can cause WINPOS_WindowFromPoint is null.
Signed-off-by: Chao Long <longchao(a)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
Hi, While running your changed tests, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=100549 Your paranoid android. === debiant2 (64 bit WoW report) === user32: menu.c:2337: Test failed: test 25
participants (2)
-
Chao Long -
Marvin