Skip to content

Commit 6f0d256

Browse files
committed
Move window order to front when Xcode window changes
1 parent dc837b5 commit 6f0d256

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Core/Sources/SuggestionWidget/SuggestionWidgetController.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,8 @@ public final class SuggestionWidgetController {
198198
guard let self else { return }
199199
try Task.checkCancellation()
200200
self.updateWindowLocation(animated: false)
201+
panelWindow.orderFront(nil)
202+
widgetWindow.orderFront(nil)
201203

202204
if notification.name == kAXFocusedUIElementChangedNotification {
203205
sourceEditorMonitorTask?.cancel()

0 commit comments

Comments
 (0)