aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJuri Linkov2005-12-20 21:37:36 +0000
committerJuri Linkov2005-12-20 21:37:36 +0000
commit76a3c2cda578ae2954a64c704b4522b8e3168f35 (patch)
tree2a3e0658502d2b63be414a587bc5817a456bc504 /src
parent38e3f12e18ca0f5d64f03ade783099cd0e7a4387 (diff)
downloademacs-76a3c2cda578ae2954a64c704b4522b8e3168f35.tar.gz
emacs-76a3c2cda578ae2954a64c704b4522b8e3168f35.zip
(Fx_popup_menu): Set Vmenu_updating_frame to f if
position is non-nil, else set it to nil.
Diffstat (limited to 'src')
-rw-r--r--src/xmenu.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index 468462a6ceb..c6640916f32 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -899,8 +899,11 @@ no quit occurs and `x-popup-menu' returns nil. */)
899 899
900 xpos += XINT (x); 900 xpos += XINT (x);
901 ypos += XINT (y); 901 ypos += XINT (y);
902
903 XSETFRAME (Vmenu_updating_frame, f);
902 } 904 }
903 Vmenu_updating_frame = Qnil; 905 else
906 Vmenu_updating_frame = Qnil;
904#endif /* HAVE_MENUS */ 907#endif /* HAVE_MENUS */
905 908
906 record_unwind_protect (unuse_menu_items, Qnil); 909 record_unwind_protect (unuse_menu_items, Qnil);