Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Sources/Pesty/UI/BarWindowController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@ final class BarWindowController: NSWindowController, NSWindowDelegate {
let token = beginTransition()
phase = .showing(token)

NSApp.activate(ignoringOtherApps: true)
// No NSApp.activate: activating Pesty makes macOS jump to the Space holding
// its Settings or Preview window. The non-activating panel takes key on its own.
panel.makeKeyAndOrderFront(nil)
// The first time a panel becomes key, AppKit hands first responder to
// its only key view: the search field. The bar always opens on the
Expand Down