On macOS use the CMD key wherever CTRL is used on other OS

This commit is contained in:
Mark Kim 2022-01-20 20:44:07 -05:00
parent f078120108
commit 3b03467d62

View file

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