Author: tfaber
Date: Thu Oct 22 14:43:39 2015
New Revision: 69645
URL:
http://svn.reactos.org/svn/reactos?rev=69645&view=rev
Log:
[WIN32K:NTUSER]
- Only resend WM_ENTERIDLE after encountering a relevant message. CID 1321906
Modified:
trunk/reactos/win32ss/user/ntuser/menu.c
Modified: trunk/reactos/win32ss/user/ntuser/menu.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/menu.c…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/menu.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/menu.c [iso-8859-1] Thu Oct 22 14:43:39 2015
@@ -3906,7 +3906,7 @@
IntTranslateKbdMessage(&msg, 0);
mt.Pt = msg.pt;
- if ( (msg.hwnd == mt.CurrentMenu->hWnd) || ((msg.message!=WM_TIMER) ||
(msg.message!=WM_SYSTIMER)) )
+ if ( (msg.hwnd == mt.CurrentMenu->hWnd) || ((msg.message!=WM_TIMER) &&
(msg.message!=WM_SYSTIMER)) )
enterIdleSent=FALSE;
fRemove = FALSE;