summary refs log tree commit diff stats
path: root/src/fe-gtk/fkeys.h
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-21 03:03:38 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-21 03:03:38 +0200
commit0c04cfed7f8c4bfe8839374171236e684a9df437 (patch)
treec85f26f84e0c75552e302eadffc35abaa9140f5f /src/fe-gtk/fkeys.h
parentef18ded8279cc484194cac897cea5ab634ead07a (diff)
Make modifier buttons truly abstract
Diffstat (limited to 'src/fe-gtk/fkeys.h')
-rw-r--r--src/fe-gtk/fkeys.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fe-gtk/fkeys.h b/src/fe-gtk/fkeys.h
index 20cd4c73..70bf100f 100644
--- a/src/fe-gtk/fkeys.h
+++ b/src/fe-gtk/fkeys.h
@@ -1,3 +1,8 @@
+/* These are cp'ed from history.c --AGL */
+#define STATE_SHIFT		GDK_SHIFT_MASK
+#define	STATE_ALT		GDK_MOD1_MASK
+#define STATE_CTRL		GDK_CONTROL_MASK
+
 void key_init (void);
 void key_dialog_show (void);
 int key_handle_key_press (GtkWidget * wid, GdkEventKey * evt, session *sess);