(w32_wnd_proc): Ignore middle and extra button events if a menu is already
active (the menubar_active flag is on).
This commit is contained in:
parent
f161146b7e
commit
b48f927687
1 changed files with 5 additions and 0 deletions
|
@ -3250,6 +3250,11 @@ w32_wnd_proc (hwnd, msg, wParam, lParam)
|
|||
BOOL up;
|
||||
int button;
|
||||
|
||||
/* Ignore middle and extra buttons as long as the menu is active. */
|
||||
f = x_window_to_frame (dpyinfo, hwnd);
|
||||
if (f && f->output_data.w32->menubar_active)
|
||||
return 0;
|
||||
|
||||
if (parse_button (msg, HIWORD (wParam), &button, &up))
|
||||
{
|
||||
if (up) ReleaseCapture ();
|
||||
|
|
Loading…
Add table
Reference in a new issue