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:04:53 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-21 03:04:53 +0200
commit8c297f6797d44fe2885bdd41e13db383bafec396 (patch)
treee1bddef18a21a8945c894a1b565f89a634e11412 /src/fe-gtk/fkeys.h
parent0c04cfed7f8c4bfe8839374171236e684a9df437 (diff)
Supposed fix for using Command/Super button instead of Ctrl on Mac
Diffstat (limited to 'src/fe-gtk/fkeys.h')
-rw-r--r--src/fe-gtk/fkeys.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fe-gtk/fkeys.h b/src/fe-gtk/fkeys.h
index 70bf100f..6a274d3c 100644
--- a/src/fe-gtk/fkeys.h
+++ b/src/fe-gtk/fkeys.h
@@ -1,7 +1,11 @@
 /* These are cp'ed from history.c --AGL */
 #define STATE_SHIFT		GDK_SHIFT_MASK
 #define	STATE_ALT		GDK_MOD1_MASK
+#ifdef __APPLE__
+#define STATE_CTRL		GDK_SUPER_MASK
+#else
 #define STATE_CTRL		GDK_CONTROL_MASK
+#endif
 
 void key_init (void);
 void key_dialog_show (void);