MSG_ProcessKbdMsg can be called from peek, so only process when remove is set.

oldstable
Ulrich Czekalla 2000-04-11 19:37:20 +00:00 committed by Alexandre Julliard
parent 39ec6e48f9
commit 2b569f6d69
1 changed files with 1 additions and 0 deletions

View File

@ -426,6 +426,7 @@ static DWORD MSG_ProcessKbdMsg( MSG *msg, BOOL remove )
/* Handle F1 key by sending out WM_HELP message */
if ((msg->message == WM_KEYUP) &&
(msg->wParam == VK_F1) &&
remove &&
(msg->hwnd != GetDesktopWindow()) &&
!MENU_IsMenuActive())
{