From 3b03467d62e8d931a80d114d45a16fa723469f9f Mon Sep 17 00:00:00 2001 From: Mark Kim Date: Thu, 20 Jan 2022 20:44:07 -0500 Subject: [PATCH] On macOS use the CMD key wherever CTRL is used on other OS --- src/macos.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/macos.h b/src/macos.h index f53ec1c20..5ff15ae67 100644 --- a/src/macos.h +++ b/src/macos.h @@ -1,7 +1,7 @@ /* macos.h - Copyright (c) 2021 + Copyright (c) 2021-2022 http://www.tuxpaint.org/ This program is free software; you can redistribute it and/or modify @@ -22,6 +22,10 @@ #ifndef __MACOS_H__ #define __MACOS_H__ + +#define KMOD_CTRL KMOD_META /* Anywhere Linux/Windows uses CTRL, also allow CMD on macOS */ + + const char *apple_fontsPath(void); const char *apple_preferencesPath(void); const char *apple_globalPreferencesPath(void);