fix: don't let the app bellow get the meta keyUp event
This commit is contained in:
1 parent
7e21974ebf
commit
7f12f4146e
1 file changed
+1
@@ -59,6 +59,7 @@ func keyboardHandler(_ cgEvent: CGEvent, _ delegate: Application) -> Unmanaged<C
|
||||
}
|
||||
} else if isMeta && !keyDown {
|
||||
delegate.focusTarget()
|
||||
return nil // previously focused app should not receive keys
|
||||
}
|
||||
}
|
||||
} else if cgEvent.type == .tapDisabledByUserInput || cgEvent.type == .tapDisabledByTimeout {
|
||||
|
||||
Reference in new issue
Block a user