Commit 4a0a7df6 authored by Karl Lessard's avatar Karl Lessard Committed by Alexandre Julliard

When a popupmenu is currently active on the screen, it shouldn't

remove mouse click messages that don't belong to it from the queue.
parent 7cc0e274
......@@ -2636,7 +2636,10 @@ static INT MENU_TrackMenu( HMENU hmenu, UINT wFlags, INT x, INT y,
/* fall through */
case WM_LBUTTONDBLCLK:
case WM_LBUTTONDOWN:
fRemove = fEndMenu = !MENU_ButtonDown( &mt, hmenu, wFlags );
/* If the message belongs to the menu, removes it from the queue */
/* Else, end menu tracking */
fRemove = MENU_ButtonDown( &mt, hmenu, wFlags );
fEndMenu = !fRemove;
break;
case WM_RBUTTONUP:
......
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