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
c0df13a6
Commit
c0df13a6
authored
Nov 08, 2009
by
Chong Yidong
Browse files
* xmenu.c (Fx_popup_menu): Hide any tooltip before opening a menu.
parent
76c5acad
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
src/ChangeLog
src/ChangeLog
+2
-2
src/xmenu.c
src/xmenu.c
+4
-0
No files found.
src/ChangeLog
View file @
c0df13a6
2009-11-0
7
Chong Yidong <cyd@stupidchicken.com>
2009-11-0
8
Chong Yidong <cyd@stupidchicken.com>
* xmenu.c (Fx_popup_menu): Extract event timestamp. Pass it to
xmenu_show.
xmenu_show.
Hide any tooltip before opening a menu.
(xmenu_show): New arg. Pass it to create_and_show_popup_menu.
(create_and_show_popup_menu): New arg. Pass it to gtk_menu_popup.
...
...
src/xmenu.c
View file @
c0df13a6
...
...
@@ -502,6 +502,9 @@ no quit occurs and `x-popup-menu' returns nil. */)
}
#ifdef HAVE_MENUS
/* Hide a previous tip, if any. */
Fx_hide_tip
();
/* Display them in a menu. */
BLOCK_INPUT
;
...
...
@@ -1805,6 +1808,7 @@ create_and_show_popup_menu (f, first_wv, x, y, for_click, timestamp)
/* Display the menu. */
gtk_widget_show_all
(
menu
);
gtk_menu_popup
(
GTK_MENU
(
menu
),
0
,
0
,
pos_func
,
&
popup_x_y
,
i
,
timestamp
>
0
?
timestamp
:
gtk_get_current_event_time
());
...
...
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