Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
2b06561a
Commit
2b06561a
authored
Oct 05, 2000
by
Dave Love
Browse files
(Fx_popup_menu, Fx_popup_dialog): Check for tool-bar
position like menu-bar.
parent
1391c567
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
src/ChangeLog
src/ChangeLog
+5
-0
src/xmenu.c
src/xmenu.c
+5
-3
No files found.
src/ChangeLog
View file @
2b06561a
2000-10-05 Dave Love <fx@gnu.org>
* xmenu.c (Fx_popup_menu, Fx_popup_dialog): Check for tool-bar
position like menu-bar.
2000-10-05 Gerd Moellmann <gerd@gnu.org>
* keyboard.c (Frecursive_edit): Make sure redisplay can happen.
...
...
src/xmenu.c
View file @
2b06561a
/* X Communication module for terminals which understand the X protocol.
Copyright (C) 1986, 88, 93, 94, 96,
1
99
9
Free Software Foundation, Inc.
Copyright (C) 1986, 88, 93, 94, 96, 99
, 2000
Free Software Foundation, Inc.
This file is part of GNU Emacs.
...
...
@@ -708,7 +708,8 @@ cached information about equivalent key sequences.")
/* Decode the first argument: find the window and the coordinates. */
if
(
EQ
(
position
,
Qt
)
||
(
CONSP
(
position
)
&&
EQ
(
XCAR
(
position
),
Qmenu_bar
)))
||
(
CONSP
(
position
)
&&
(
EQ
(
XCAR
(
position
),
Qmenu_bar
)
||
EQ
(
XCAR
(
position
),
Qtool_bar
))))
{
/* Use the mouse's current position. */
FRAME_PTR
new_f
=
SELECTED_FRAME
();
...
...
@@ -906,7 +907,8 @@ on the left of the dialog box and all following items on the right.\n\
/* Decode the first argument: find the window or frame to use. */
if
(
EQ
(
position
,
Qt
)
||
(
CONSP
(
position
)
&&
EQ
(
XCAR
(
position
),
Qmenu_bar
)))
||
(
CONSP
(
position
)
&&
(
EQ
(
XCAR
(
position
),
Qmenu_bar
)
||
EQ
(
XCAR
(
position
),
Qtool_bar
))))
{
#if 0 /* Using the frame the mouse is on may not be right. */
/* Use the mouse's current position. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment