diff options
-rw-r--r-- | qxt-mini/qxtglobalshortcut_mac.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qxt-mini/qxtglobalshortcut_mac.cpp b/qxt-mini/qxtglobalshortcut_mac.cpp index d7cd7f84..59d0a40c 100644 --- a/qxt-mini/qxtglobalshortcut_mac.cpp +++ b/qxt-mini/qxtglobalshortcut_mac.cpp @@ -54,8 +54,10 @@ OSStatus qxt_mac_handle_hot_key(EventHandlerCallRef nextHandler, EventRef event, EventHotKeyID keyID; GetEventParameter(event, kEventParamDirectObject, typeEventHotKeyID, NULL, sizeof(keyID), NULL, &keyID); Identifier id = keyIDs.key(keyID.id); - if(id != Identifier()) + if(id != Identifier()) { QxtGlobalShortcutPrivate::activateShortcut(id.second, id.first, true); + QxtGlobalShortcutPrivate::activateShortcut(id.second, id.first, false); + } } return noErr; } |