diff options
| author | Tomáš Znamenáček | 2015-01-16 11:38:43 +0100 |
|---|---|---|
| committer | Tomáš Znamenáček | 2015-01-16 11:38:43 +0100 |
| commit | 66fd9b8e4117069d2c58563d668577f5af0dae87 (patch) | |
| tree | 3a816319fad68295dd9f10eb48ab7871eb383d56 /Framework/MASHotKey.m | |
| parent | 1baa2bae9d63093d64239992dc702b10d149b7c5 (diff) | |
| parent | 27eace979e202116e44db3dc6acc9a8427ecaa0a (diff) | |
| download | MASShortcut-66fd9b8e4117069d2c58563d668577f5af0dae87.tar.bz2 | |
Merge pull request #57 from shpakovski/legacy-osx-support
Legacy OS X support down to 10.6 included (fixes #56).
Diffstat (limited to 'Framework/MASHotKey.m')
| -rw-r--r-- | Framework/MASHotKey.m | 2 |
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; |
