emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/w32fns.c


From: Eli Zaretskii
Subject: [Emacs-diffs] Changes to emacs/src/w32fns.c
Date: Sat, 11 Mar 2006 16:31:40 +0000

Index: emacs/src/w32fns.c
diff -u emacs/src/w32fns.c:1.262 emacs/src/w32fns.c:1.263
--- emacs/src/w32fns.c:1.262    Mon Feb  6 15:23:22 2006
+++ emacs/src/w32fns.c  Sat Mar 11 16:31:39 2006
@@ -3250,6 +3250,11 @@
        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 ();




reply via email to

[Prev in Thread] Current Thread [Next in Thread]