(handle_one_xevent): Don't pass buttons higher than 3
to Gtk+ menus.
This commit is contained in:
parent
1937f3dc3d
commit
bb16531656
2 changed files with 7 additions and 0 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2008-05-13 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
|
||||
|
||||
* xterm.c (handle_one_xevent): Don't pass buttons higher than 3
|
||||
to Gtk+ menus.
|
||||
|
||||
2008-05-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
|
||||
|
||||
* emacs.c (main_thread): Conditionalize on
|
||||
|
|
|
|||
|
|
@ -6848,6 +6848,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…
Add table
Reference in a new issue