macOS: use unobtrusive driver when quick terminal is visible (#9528)

Current:

<img width="1398" height="604" alt="image"
src="https://github.com/user-attachments/assets/63f7e05e-03b9-413f-9622-285158dae1f6"
/>
pull/9536/head
Mitchell Hashimoto 2025-11-09 06:55:13 -08:00 committed by GitHub
commit 3c123918af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ class UpdateDriver: NSObject, SPUUserDriver {
/// True if there is a target that can render our unobtrusive update checker.
var hasUnobtrusiveTarget: Bool {
NSApp.windows.contains { window in
window is TerminalWindow &&
(window is TerminalWindow || window is QuickTerminalWindow) &&
window.isVisible
}
}