diff --git a/src/effects/overview/qml/ScreenView.qml b/src/effects/overview/qml/ScreenView.qml index 96ea7bcca7..36a5f0e21f 100644 --- a/src/effects/overview/qml/ScreenView.qml +++ b/src/effects/overview/qml/ScreenView.qml @@ -196,6 +196,7 @@ FocusScope { animationDuration: effect.animationDuration animationEnabled: container.animationEnabled organized: container.organized + supportsCloseWindows: true model: KWinComponents.ClientFilterModel { activity: KWinComponents.Workspace.currentActivity desktop: KWinComponents.Workspace.currentVirtualDesktop diff --git a/src/effects/windowview/qml/main.qml b/src/effects/windowview/qml/main.qml index 48f4548ad3..39f411e2e2 100644 --- a/src/effects/windowview/qml/main.qml +++ b/src/effects/windowview/qml/main.qml @@ -109,6 +109,7 @@ Item { organized: container.organized showOnly: container.effect.mode === WindowView.ModeWindowClass ? "activeClass" : selectedIds layout: effect.layout + supportsCloseWindows: true model: KWinComponents.ClientFilterModel { activity: KWinComponents.Workspace.currentActivity desktop: container.effect.mode == WindowView.ModeCurrentDesktop ? KWinComponents.Workspace.currentVirtualDesktop : undefined