From 8c297f6797d44fe2885bdd41e13db383bafec396 Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Sun, 21 Oct 2012 03:04:53 +0200 Subject: [PATCH] Supposed fix for using Command/Super button instead of Ctrl on Mac --- src/fe-gtk/fkeys.h | 4 ++++ 1 file changed, 4 insertions(+) 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);