fix: avoid random delay after releasing shortcut (closes #563)
This commit is contained in:
1 parent
78d1d8f6fd
commit
cbc4c39aa5
1 file changed
+1
-3
@@ -137,9 +137,7 @@ class Window {
|
||||
}
|
||||
|
||||
func focus() {
|
||||
if application.pid == ProcessInfo.processInfo.processIdentifier {
|
||||
App.app.showSecondaryWindow(App.app.window(withWindowNumber: Int(cgWindowId)))
|
||||
} else if isWindowlessApp {
|
||||
if isWindowlessApp {
|
||||
if let bundleID = application.runningApplication.bundleIdentifier {
|
||||
NSWorkspace.shared.launchApplication(withBundleIdentifier: bundleID, additionalEventParamDescriptor: nil, launchIdentifier: nil)
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user