Author: gadamopoulos
Date: Sun Feb 24 20:03:48 2013
New Revision: 58364
URL:
http://svn.reactos.org/svn/reactos?rev=58364&view=rev
Log:
[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)
Modified:
trunk/reactos/win32ss/user/ntuser/msgqueue.c
Modified: trunk/reactos/win32ss/user/ntuser/msgqueue.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/msgque…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/msgqueue.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/msgqueue.c [iso-8859-1] Sun Feb 24 20:03:48 2013
@@ -1352,7 +1352,7 @@
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);