Skip to content

Commit aad59b7

Browse files
committed
Make fullscreenDetector transient
1 parent 2f4dbf1 commit aad59b7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Core/Sources/SuggestionWidget/SuggestionWidgetController.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ import XcodeInspector
1111

1212
@MainActor
1313
public final class SuggestionWidgetController: NSObject {
14+
// you should make these window `.transient` so they never show up in the mission control.
15+
1416
private lazy var fullscreenDetector = {
1517
let it = CanBecomeKeyWindow(
1618
contentRect: .zero,
@@ -21,7 +23,7 @@ public final class SuggestionWidgetController: NSObject {
2123
it.isReleasedWhenClosed = false
2224
it.isOpaque = false
2325
it.backgroundColor = .clear
24-
it.collectionBehavior = [.canJoinAllSpaces, .fullScreenAuxiliary]
26+
it.collectionBehavior = [.canJoinAllSpaces, .fullScreenAuxiliary, .transient]
2527
it.hasShadow = false
2628
it.setIsVisible(true)
2729
it.canBecomeKeyChecker = { false }

0 commit comments

Comments
 (0)