aboutsummaryrefslogtreecommitdiffstats
path: root/Framework/MASHotKey.m
diff options
context:
space:
mode:
authorTomáš Znamenáček2015-01-12 16:34:18 +0100
committerTomáš Znamenáček2015-01-12 17:10:20 +0100
commitb9b1964b3f5e8a7cf6ef76fbf2d019cdad9a9063 (patch)
tree58d22feb9e2ea4498907f450ed9acfe9f3d88763 /Framework/MASHotKey.m
parent5208c981afc49f4621dd70f1d193af1342846aeb (diff)
downloadMASShortcut-b9b1964b3f5e8a7cf6ef76fbf2d019cdad9a9063.tar.bz2
Non-exclusive hotkey registration (#56).
Diffstat (limited to 'Framework/MASHotKey.m')
-rw-r--r--Framework/MASHotKey.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Framework/MASHotKey.m b/Framework/MASHotKey.m
index 7886440..c5ab744 100644
--- a/Framework/MASHotKey.m
+++ b/Framework/MASHotKey.m
@@ -19,7 +19,7 @@ FourCharCode const MASHotKeySignature = 'MASS';
EventHotKeyID hotKeyID = { .signature = MASHotKeySignature, .id = _carbonID };
OSStatus status = RegisterEventHotKey([shortcut carbonKeyCode], [shortcut carbonFlags],
- hotKeyID, GetEventDispatcherTarget(), kEventHotKeyExclusive, &_hotKeyRef);
+ hotKeyID, GetEventDispatcherTarget(), 0, &_hotKeyRef);
if (status != noErr) {
return nil;