1
0
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:
Jan Djärv 2008-05-13 08:08:25 +00:00
parent 3271a8f56c
commit 44f249c055
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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