fix: preview window could remain after focusing an app (closes #3505)
This commit is contained in:
1 parent
97951e7e8e
commit
e890a603c2
1 file changed
+1
@@ -181,6 +181,7 @@ class Window {
|
||||
} else {
|
||||
application.runningApplication.activate(options: .activateIgnoringOtherApps)
|
||||
}
|
||||
Windows.previewFocusedWindowIfNeeded()
|
||||
} else if let bundleID = application.runningApplication.bundleIdentifier, bundleID == App.id {
|
||||
App.shared.activate(ignoringOtherApps: true)
|
||||
App.app.window(withWindowNumber: Int(cgWindowId!))?.makeKeyAndOrderFront(nil)
|
||||
|
||||
Reference in new issue
Block a user