fix: present launcher on the active macOS Space
This commit is contained in:
@@ -35,6 +35,7 @@ Open `Package.swift` in Xcode to edit the project. Use the bundled app above to
|
|||||||
- Return, keypad Enter, the Open Application button, or a double-click opens the selection.
|
- Return, keypad Enter, the Open Application button, or a double-click opens the selection.
|
||||||
- Escape or Command-W dismisses the launcher and restores the previously active application. Switching focus away dismisses it without stealing focus back.
|
- Escape or Command-W dismisses the launcher and restores the previously active application. Switching focus away dismisses it without stealing focus back.
|
||||||
- Reopen from Finder to show it again with an empty search. Dismissal leaves the process running; Command-Q quits it.
|
- Reopen from Finder to show it again with an empty search. Dismissal leaves the process running; Command-Q quits it.
|
||||||
|
- Every activation brings the launcher to the currently active macOS Space, including full-screen Spaces, without switching desktops.
|
||||||
- Standard macOS text-editing shortcuts work in the search field.
|
- Standard macOS text-editing shortcuts work in the search field.
|
||||||
- Command-comma opens the native Settings window.
|
- Command-comma opens the native Settings window.
|
||||||
- Right-click the launcher background for Settings and Quit.
|
- Right-click the launcher background for Settings and Quit.
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ final class LauncherWindowController: NSWindowController, NSWindowDelegate, NSSe
|
|||||||
window.hasShadow = true
|
window.hasShadow = true
|
||||||
window.isMovableByWindowBackground = true
|
window.isMovableByWindowBackground = true
|
||||||
window.hidesOnDeactivate = false
|
window.hidesOnDeactivate = false
|
||||||
|
window.collectionBehavior = [.moveToActiveSpace, .fullScreenAuxiliary]
|
||||||
window.isReleasedWhenClosed = false
|
window.isReleasedWhenClosed = false
|
||||||
window.center()
|
window.center()
|
||||||
super.init(window: window)
|
super.init(window: window)
|
||||||
|
|||||||
Reference in New Issue
Block a user