Remove shift+click to close tab binding

It is an odd binding that conflicts with typical behavior
where shift click selects multiple items and there is
already the middle click shortcut to close tabs quickly.

Closes #918
This commit is contained in:
Patrick Griffis 2018-03-16 20:31:16 -04:00
parent 28a3d42ad1
commit dc483b2342
1 changed files with 2 additions and 2 deletions

View File

@ -1585,8 +1585,8 @@ mg_create_tabmenu (session *sess, GdkEventButton *event, chan *ch)
static gboolean
mg_tab_contextmenu_cb (chanview *cv, chan *ch, int tag, gpointer ud, GdkEventButton *event)
{
/* middle-click or shift-click to close a tab */
if (((prefs.hex_gui_tab_middleclose && event->button == 2) || (event->button == 1 && event->state & STATE_SHIFT))
/* middle-click to close a tab */
if (((prefs.hex_gui_tab_middleclose && event->button == 2))
&& event->type == GDK_BUTTON_PRESS)
{
mg_xbutton_cb (cv, ch, tag, ud);