# HG changeset patch # User Jan Dj¸«£rv # Date 1210666393 0 # Node ID e4bdf6e277cec54e25ee843cdd57cf7cde6585c6 # Parent 3ca72ee8c47402325e9f5527a784ec9abbe001f0 (handle_one_xevent): Don't pass buttons higher than 3 to Gtk+ menus. diff -r 3ca72ee8c474 -r e4bdf6e277ce src/xterm.c --- a/src/xterm.c Mon May 12 20:07:57 2008 +0000 +++ b/src/xterm.c Tue May 13 08:13:13 2008 +0000 @@ -6848,6 +6848,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