Supposed fix for using Command/Super button instead of Ctrl on Mac

This commit is contained in:
Berke Viktor 2012-10-21 03:04:53 +02:00
parent 0c04cfed7f
commit 8c297f6797
1 changed files with 4 additions and 0 deletions

View File

@ -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);