Skip to content

Commit 40b03a3

Browse files
committed
Fix window not ordered front when switching spaces
1 parent 6294653 commit 40b03a3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Core/Sources/SuggestionWidget/FeatureReducers/WidgetFeature.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ public struct WidgetFeature: ReducerProtocol {
250250
else { continue }
251251
guard await windows.fullscreenDetector.isOnActiveSpace else { continue }
252252
let app = AXUIElementCreateApplication(activeXcode.processIdentifier)
253-
if let window = app.focusedWindow, window.isFullScreen {
253+
if let window = app.focusedWindow {
254254
await windows.orderFront()
255255
}
256256
}

0 commit comments

Comments
 (0)