mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-26 07:33:47 +00:00
(handle_one_xevent): Don't pass buttons higher than 3
to Gtk+ menus.
This commit is contained in:
parent
3271a8f56c
commit
44f249c055
@ -1,3 +1,8 @@
|
||||
2008-05-13 Jan Djärv <jan.h.d@swipnet.se>
|
||||
|
||||
* xterm.c (handle_one_xevent): Don't pass buttons higher than 3
|
||||
to Gtk+ menus.
|
||||
|
||||
2008-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* dired.c (file_name_completion): Tweak the code so as to always do it
|
||||
|
@ -7175,6 +7175,8 @@ handle_one_xevent (dpyinfo, eventp, finish, hold_quit)
|
||||
if (
|
||||
#ifdef USE_GTK
|
||||
! popup_activated ()
|
||||
/* Gtk+ menus only react to the first three buttons. */
|
||||
&& event.xbutton.button < 3
|
||||
&&
|
||||
#endif
|
||||
f && event.type == ButtonPress
|
||||
|
Loading…
Reference in New Issue
Block a user