]> code.delx.au - gnu-emacs/commitdiff
(Fx_popup_menu): Add `else' to set Vmenu_updating_frame to nil
authorJuri Linkov <juri@jurta.org>
Tue, 20 Dec 2005 21:38:27 +0000 (21:38 +0000)
committerJuri Linkov <juri@jurta.org>
Tue, 20 Dec 2005 21:38:27 +0000 (21:38 +0000)
only if position is nil.

src/macmenu.c
src/w32menu.c

index a68ff04e405999be242a80133facf169a1bc9273..064cec57486373af3864c764411fd8cd10ee67a5 100644 (file)
@@ -746,7 +746,8 @@ no quit occurs and `x-popup-menu' returns nil.  */)
 
       XSETFRAME (Vmenu_updating_frame, f);
     }
-  Vmenu_updating_frame = Qnil;
+  else
+    Vmenu_updating_frame = Qnil;
 #endif /* HAVE_MENUS */
 
   title = Qnil;
index d441d14b2593cf06f67dd07853ba14b56e78f4e3..dfd885eee08140d0106304bb3191f7b6978e32c8 100644 (file)
@@ -738,7 +738,8 @@ cached information about equivalent key sequences.  */)
 
       XSETFRAME (Vmenu_updating_frame, f);
     }
-  Vmenu_updating_frame = Qnil;
+  else
+    Vmenu_updating_frame = Qnil;
 #endif /* HAVE_MENUS */
 
   title = Qnil;