emacs-diffs
[Top][All Lists]
Advanced

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

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


From: Richard M . Stallman
Subject: [Emacs-diffs] Changes to emacs/src/xmenu.c
Date: Sat, 04 Jun 2005 14:05:28 -0400

Index: emacs/src/xmenu.c
diff -c emacs/src/xmenu.c:1.290 emacs/src/xmenu.c:1.291
*** emacs/src/xmenu.c:1.290     Tue May 24 03:45:42 2005
--- emacs/src/xmenu.c   Sat Jun  4 18:05:28 2005
***************
*** 1235,1240 ****
--- 1235,1244 ----
        if (event.type == ButtonRelease
            && dpyinfo->display == event.xbutton.display)
          {
+         /* If the click is not on the menu, deactivate the menu.  */
+         if (x_any_window_to_frame (dpyinfo, event.xexpose.window))
+           popup_activated_flag = 0;
+           
            dpyinfo->grabbed &= ~(1 << event.xbutton.button);
  #ifdef USE_MOTIF /* Pretending that the event came from a
                      Btn1Down seems the only way to convince Motif to




reply via email to

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