aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/w32fns.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/w32fns.c b/src/w32fns.c
index 34450fd5219..c116c51603b 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -3250,6 +3250,11 @@ w32_wnd_proc (hwnd, msg, wParam, lParam)
3250 BOOL up; 3250 BOOL up;
3251 int button; 3251 int button;
3252 3252
3253 /* Ignore middle and extra buttons as long as the menu is active. */
3254 f = x_window_to_frame (dpyinfo, hwnd);
3255 if (f && f->output_data.w32->menubar_active)
3256 return 0;
3257
3253 if (parse_button (msg, HIWORD (wParam), &button, &up)) 3258 if (parse_button (msg, HIWORD (wParam), &button, &up))
3254 { 3259 {
3255 if (up) ReleaseCapture (); 3260 if (up) ReleaseCapture ();