# HG changeset patch # User Jan Dj¸«£rv # Date 1210666093 0 # Node ID 3a28e9f5eda00bf2a19fc7419c432be9be554066 # Parent 907ac6ecef898d2a3333ee2158c09a2f652111cc (handle_one_xevent): Don't pass buttons higher than 3 to Gtk+ menus. diff -r 907ac6ecef89 -r 3a28e9f5eda0 src/xterm.c --- a/src/xterm.c Tue May 13 05:16:43 2008 +0000 +++ b/src/xterm.c Tue May 13 08:08:13 2008 +0000 @@ -7175,6 +7175,8 @@ if ( #ifdef USE_GTK ! popup_activated () + /* Gtk+ menus only react to the first three buttons. */ + && event.xbutton.button < 3 && #endif f && event.type == ButtonPress