diff options
author | Karl Heuer <kwzh@gnu.org> | 1995-05-24 21:43:00 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1995-05-24 21:43:00 +0000 |
commit | 70c1d432fddc3284e41471f3990dcb39cfe8c584 (patch) | |
tree | e6f5422678262ac642a305c197b4c45e428d7447 /src/xmenu.c | |
parent | ccfe535605cee0d04882fab108cd370a6eecc66a (diff) | |
download | emacs-70c1d432fddc3284e41471f3990dcb39cfe8c584.tar.gz |
(Fx_popup_dialog): Treat (menu-bar) like t, for POSITION.
Diffstat (limited to 'src/xmenu.c')
-rw-r--r-- | src/xmenu.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/xmenu.c b/src/xmenu.c index da760d4214b..6835ebdca92 100644 --- a/src/xmenu.c +++ b/src/xmenu.c @@ -950,7 +950,8 @@ on the left of the dialog box and all following items on the right.\n\ 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 @@ on the left of the dialog box and all following items on the right.\n\ 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)) { |