HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
c4c6d07
)
(Fx_popup_dialog): Treat (menu-bar) like t, for POSITION.
author
Karl Heuer
<kwzh@gnu.org>
Wed, 24 May 1995 21:43:00 +0000
(21:43 +0000)
committer
Karl Heuer
<kwzh@gnu.org>
Wed, 24 May 1995 21:43:00 +0000
(21:43 +0000)
src/xmenu.c
patch
|
blob
|
blame
|
history
diff --git
a/src/xmenu.c
b/src/xmenu.c
index
da760d4
..
6835ebd
100644
(file)
--- 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. */
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. */
{
#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
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))
{
}
else if (CONSP (position))
{