Make modifier buttons truly abstract

This commit is contained in:
Berke Viktor
2012-10-21 03:03:38 +02:00
parent ef18ded827
commit 0c04cfed7f
7 changed files with 22 additions and 23 deletions

View File

@@ -1652,7 +1652,7 @@ static gboolean
mg_tab_contextmenu_cb (chanview *cv, chan *ch, int tag, gpointer ud, GdkEventButton *event)
{
/* shift-click to close a tab */
if ((event->state & GDK_SHIFT_MASK) && event->type == GDK_BUTTON_PRESS)
if ((event->state & STATE_SHIFT) && event->type == GDK_BUTTON_PRESS)
{
mg_xbutton_cb (cv, ch, tag, ud);
return FALSE;