feat: improve focus in show:apps mode (closes #3951)
This commit is contained in:
1 parent
ac70fcc5f9
commit
cb191d60f3
1 file changed
+1
-1
@@ -181,7 +181,7 @@ class Window {
|
||||
App.app.window(withWindowNumber: Int(cgWindowId!))?.makeKeyAndOrderFront(nil)
|
||||
Windows.previewFocusedWindowIfNeeded()
|
||||
} else if isWindowlessApp || cgWindowId == nil || Preferences.onlyShowApplications() {
|
||||
if let bundleUrl = bundleUrl {
|
||||
if let bundleUrl = bundleUrl, isWindowlessApp {
|
||||
if (try? NSWorkspace.shared.launchApplication(at: bundleUrl, configuration: [:])) == nil {
|
||||
application.runningApplication.activate(options: .activateAllWindows)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user