Skip to content

Commit 321236a

Browse files
committed
Ignore .applicationDeactivated because it's handled somewhere else
1 parent 5944902 commit 321236a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Core/Sources/SuggestionWidget/WidgetWindowsController.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -312,15 +312,15 @@ private extension WidgetWindowsController {
312312
await updateWidgetsAndNotifyChangeOfEditor(immediately: false)
313313
case .mainWindowChanged:
314314
await updateWidgetsAndNotifyChangeOfEditor(immediately: false)
315-
case .applicationDeactivated,
316-
.moved,
315+
case .moved,
317316
.resized,
318317
.windowMoved,
319318
.windowResized,
320319
.windowMiniaturized,
321320
.windowDeminiaturized:
322321
await updateWidgets()
323-
case .created, .uiElementDestroyed, .xcodeCompletionPanelChanged:
322+
case .created, .uiElementDestroyed, .xcodeCompletionPanelChanged,
323+
.applicationDeactivated:
324324
continue
325325
}
326326
}

0 commit comments

Comments
 (0)