aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1995-05-24 21:43:00 +0000
committerKarl Heuer1995-05-24 21:43:00 +0000
commit88d4f6ec1243b4b06255095e83ce1da5a9ef1bc3 (patch)
tree81e9c096dd09997b82be1340f4922a23ef5ebd7b /src
parentc4c6d073e610be2945218fc6f6fc6b0aee793784 (diff)
downloademacs-88d4f6ec1243b4b06255095e83ce1da5a9ef1bc3.tar.gz
emacs-88d4f6ec1243b4b06255095e83ce1da5a9ef1bc3.zip
(Fx_popup_dialog): Treat (menu-bar) like t, for POSITION.
Diffstat (limited to 'src')
-rw-r--r--src/xmenu.c7
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\
950 check_x (); 950 check_x ();
951 951
952 /* Decode the first argument: find the window or frame to use. */ 952 /* Decode the first argument: find the window or frame to use. */
953 if (EQ (position, Qt)) 953 if (EQ (position, Qt)
954 || (CONSP (position) && EQ (XCONS (position)->car, Qmenu_bar)))
954 { 955 {
955#if 0 /* Using the frame the mouse is on may not be right. */ 956#if 0 /* Using the frame the mouse is on may not be right. */
956 /* Use the mouse's current position. */ 957 /* 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\
967 else 968 else
968 window = selected_window; 969 window = selected_window;
969#endif 970#endif
970 /* Decode the first argument: find the window and the coordinates. */ 971 window = selected_window;
971 if (EQ (position, Qt))
972 window = selected_window;
973 } 972 }
974 else if (CONSP (position)) 973 else if (CONSP (position))
975 { 974 {