From ac74a26f3b85eb14807749a735078e0f1f572693 Mon Sep 17 00:00:00 2001 From: hl-valdemar Date: Mon, 12 Oct 2026 01:05:57 +0200 Subject: [PATCH] fix: present launcher on the active macOS Space --- README.md | 1 + Sources/Conjure/LauncherWindowController.swift | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 0059fc3..d771eb0 100644 --- a/README.md +++ b/README.md @@ -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. - 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. +- 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. - Command-comma opens the native Settings window. - Right-click the launcher background for Settings and Quit. diff --git a/Sources/Conjure/LauncherWindowController.swift b/Sources/Conjure/LauncherWindowController.swift index 65ecfa1..a9d1c33 100644 --- a/Sources/Conjure/LauncherWindowController.swift +++ b/Sources/Conjure/LauncherWindowController.swift @@ -31,6 +31,7 @@ final class LauncherWindowController: NSWindowController, NSWindowDelegate, NSSe window.hasShadow = true window.isMovableByWindowBackground = true window.hidesOnDeactivate = false + window.collectionBehavior = [.moveToActiveSpace, .fullScreenAuxiliary] window.isReleasedWhenClosed = false window.center() super.init(window: window)