From 3a103ecbac7c1a3899cea2372f5a87d29f70ef75 Mon Sep 17 00:00:00 2001 From: Giannis Adamopoulos Date: Sun, 24 Feb 2013 20:03:48 +0000 Subject: [PATCH] [win32k] - Fix a nasty bug in IntTrackMouseMove that prevented us from stopping the ID_EVENT_SYSTIMER_MOUSEHOVER timer. - IntKillTimer requires a PWND as first argument but we were passing an HWND and as a result the timer was never stopped - Fixes the remaining failed tests for TrackMouseEvent (besides queue state tests) svn path=/trunk/; revision=58364 --- reactos/win32ss/user/ntuser/msgqueue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/win32ss/user/ntuser/msgqueue.c b/reactos/win32ss/user/ntuser/msgqueue.c index 1d5627ee498..def9263e1d8 100644 --- a/reactos/win32ss/user/ntuser/msgqueue.c +++ b/reactos/win32ss/user/ntuser/msgqueue.c @@ -1352,7 +1352,7 @@ IntTrackMouseMove(PWND pwndTrack, PDESKTOP pDesk, PMSG msg, USHORT hittest) 0, 0); if ( pDesk->dwDTFlags & DF_TME_HOVER ) - IntKillTimer(UserHMGetHandle(pDesk->spwndTrack), ID_EVENT_SYSTIMER_MOUSEHOVER, TRUE); + IntKillTimer(pDesk->spwndTrack, ID_EVENT_SYSTIMER_MOUSEHOVER, TRUE); /* Clear the flags to sign a change. */ pDesk->dwDTFlags &= ~(DF_TME_LEAVE|DF_TME_HOVER);