[WIN32K:NTUSER]

- Only resend WM_ENTERIDLE after encountering a relevant message. CID 1321906

svn path=/trunk/; revision=69645
This commit is contained in:
Thomas Faber 2015-10-22 14:43:39 +00:00
parent 32a955c11c
commit 2ecafe7510

View file

@ -3906,7 +3906,7 @@ static INT FASTCALL MENU_TrackMenu(PMENU pmenu, UINT wFlags, INT x, INT y,
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;