Commit 2b569f6d authored by Ulrich Czekalla's avatar Ulrich Czekalla Committed by Alexandre Julliard

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

parent 39ec6e48
...@@ -426,6 +426,7 @@ static DWORD MSG_ProcessKbdMsg( MSG *msg, BOOL remove ) ...@@ -426,6 +426,7 @@ static DWORD MSG_ProcessKbdMsg( MSG *msg, BOOL remove )
/* Handle F1 key by sending out WM_HELP message */ /* Handle F1 key by sending out WM_HELP message */
if ((msg->message == WM_KEYUP) && if ((msg->message == WM_KEYUP) &&
(msg->wParam == VK_F1) && (msg->wParam == VK_F1) &&
remove &&
(msg->hwnd != GetDesktopWindow()) && (msg->hwnd != GetDesktopWindow()) &&
!MENU_IsMenuActive()) !MENU_IsMenuActive())
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment