fix: app was no longer absorbing its shortcut key events properly
Regression was introduced by a4a0a9be2e
This commit is contained in:
1 parent
7f12f4146e
commit
4976267a82
1 file changed
+1
-1
@@ -15,7 +15,7 @@ func listenToGlobalKeyboardEvents(_ delegate: Application) {
|
||||
eventTap = CGEvent.tapCreate(
|
||||
tap: .cgSessionEventTap,
|
||||
place: .headInsertEventTap,
|
||||
options: .listenOnly,
|
||||
options: .defaultTap,
|
||||
eventsOfInterest: eventMask,
|
||||
callback: { (_, _, event, delegate_) -> Unmanaged<CGEvent>? in
|
||||
let d = Unmanaged<Application>.fromOpaque(delegate_!).takeUnretainedValue()
|
||||
|
||||
Reference in new issue
Block a user