Mercurial > emacs
changeset 11907:0f03ad1cac1e
(Fx_popup_dialog): Treat (menu-bar) like t, for POSITION.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Wed, 24 May 1995 21:43:00 +0000 |
parents | 3ca56969ba07 |
children | 4f4034f45cbf |
files | src/xmenu.c |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xmenu.c Wed May 24 21:34:23 1995 +0000 +++ b/src/xmenu.c Wed May 24 21:43:00 1995 +0000 @@ -950,7 +950,8 @@ check_x (); /* Decode the first argument: find the window or frame to use. */ - if (EQ (position, Qt)) + if (EQ (position, Qt) + || (CONSP (position) && EQ (XCONS (position)->car, Qmenu_bar))) { #if 0 /* Using the frame the mouse is on may not be right. */ /* Use the mouse's current position. */ @@ -967,9 +968,7 @@ else window = selected_window; #endif - /* Decode the first argument: find the window and the coordinates. */ - if (EQ (position, Qt)) - window = selected_window; + window = selected_window; } else if (CONSP (position)) {