diff options
author | Berke Viktor <bviktor@hexchat.org> | 2012-10-21 03:03:38 +0200 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2012-10-21 03:03:38 +0200 |
commit | 0c04cfed7f8c4bfe8839374171236e684a9df437 (patch) | |
tree | c85f26f84e0c75552e302eadffc35abaa9140f5f /src/fe-gtk/maingui.c | |
parent | ef18ded8279cc484194cac897cea5ab634ead07a (diff) |
Make modifier buttons truly abstract
Diffstat (limited to 'src/fe-gtk/maingui.c')
-rw-r--r-- | src/fe-gtk/maingui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-gtk/maingui.c b/src/fe-gtk/maingui.c index 3dbac7af..68795b9b 100644 --- a/src/fe-gtk/maingui.c +++ b/src/fe-gtk/maingui.c @@ -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; |