Mercurial > emacs
diff src/xmenu.c @ 67703:7ae48da37b8f
(Fx_popup_menu): Set Vmenu_updating_frame to f if
position is non-nil, else set it to nil.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Tue, 20 Dec 2005 21:37:36 +0000 |
parents | 88807d05a058 |
children | 3c879987313f b64b7e867d0a |
line wrap: on
line diff
--- a/src/xmenu.c Tue Dec 20 17:39:47 2005 +0000 +++ b/src/xmenu.c Tue Dec 20 21:37:36 2005 +0000 @@ -899,8 +899,11 @@ 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);