summaryrefslogtreecommitdiffstats
path: root/src/shortcuts.cpp
diff options
context:
space:
mode:
authorMartin Owens <doctormo@gmail.com>2018-03-28 17:32:15 +0000
committerMartin Owens <doctormo@gmail.com>2018-03-28 17:32:15 +0000
commitad812a440eea1fa2412d9d4220a7f5848e2bc77c (patch)
tree4d325e935eb3e5b6463d984fc71517cb4451e7e5 /src/shortcuts.cpp
parentAllow MacOSX builds to use a specially design carbon keyboard set (diff)
downloadinkscape-ad812a440eea1fa2412d9d4220a7f5848e2bc77c.tar.gz
inkscape-ad812a440eea1fa2412d9d4220a7f5848e2bc77c.zip
Add Cmd as an alternative keyboard shortcut
Diffstat (limited to 'src/shortcuts.cpp')
-rw-r--r--src/shortcuts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shortcuts.cpp b/src/shortcuts.cpp
index 0d6adb096..96008dbeb 100644
--- a/src/shortcuts.cpp
+++ b/src/shortcuts.cpp
@@ -682,7 +682,7 @@ static void read_shortcuts_file(char const *filename, bool const is_user_set) {
modifiers |= SP_SHORTCUT_ALT_MASK;
} else if (!strcmp(mod, "Super")) {
modifiers |= SP_SHORTCUT_SUPER_MASK;
- } else if (!strcmp(mod, "Hyper")) {
+ } else if (!strcmp(mod, "Hyper") || !strcmp(mod, "Cmd")) {
modifiers |= SP_SHORTCUT_HYPER_MASK;
} else if (!strcmp(mod, "Meta")) {
modifiers |= SP_SHORTCUT_META_MASK;