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/servlistgui.c | |
parent | ef18ded8279cc484194cac897cea5ab634ead07a (diff) |
Make modifier buttons truly abstract
Diffstat (limited to 'src/fe-gtk/servlistgui.c')
-rw-r--r-- | src/fe-gtk/servlistgui.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fe-gtk/servlistgui.c b/src/fe-gtk/servlistgui.c index 8de93e8d..aba42188 100644 --- a/src/fe-gtk/servlistgui.c +++ b/src/fe-gtk/servlistgui.c @@ -43,6 +43,7 @@ #include "gtkutil.h" #include "menu.h" #include "pixmaps.h" +#include "fkeys.h" /* servlistgui.c globals */ @@ -366,7 +367,7 @@ servlist_net_keypress_cb (GtkWidget *wid, GdkEventKey *evt, gpointer tree) if (!selected_net) return FALSE; - if (evt->state & GDK_SHIFT_MASK) + if (evt->state & STATE_SHIFT) { if (evt->keyval == GDK_Up) { @@ -387,7 +388,7 @@ servlist_serv_keypress_cb (GtkWidget *wid, GdkEventKey *evt, gpointer userdata) if (!selected_net || !selected_serv) return FALSE; - if (evt->state & GDK_SHIFT_MASK) + if (evt->state & STATE_SHIFT) { if (evt->keyval == GDK_Up) { |