fix: don't let the app bellow get the meta keyUp event

This commit is contained in:
Louis Pontoise committed 2019-10-28 18:21:22 +09:00
1 parent 7e21974ebf
commit 7f12f4146e
1 file changed
+1
+1
View File
@@ -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 {