mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 21:54:14 +00:00
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.
This commit is contained in:
parent
7cc0e274f4
commit
4a0a7df6a3
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue