From: Juri Linkov Date: Tue, 20 Dec 2005 21:37:36 +0000 (+0000) Subject: (Fx_popup_menu): Set Vmenu_updating_frame to f if X-Git-Tag: emacs-pretest-22.0.90~5163 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=76a3c2cda578ae2954a64c704b4522b8e3168f35;p=emacs.git (Fx_popup_menu): Set Vmenu_updating_frame to f if position is non-nil, else set it to nil. --- 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. */) xpos += XINT (x); ypos += XINT (y); + + XSETFRAME (Vmenu_updating_frame, f); } - Vmenu_updating_frame = Qnil; + else + Vmenu_updating_frame = Qnil; #endif /* HAVE_MENUS */ record_unwind_protect (unuse_menu_items, Qnil);