From 7eefc485361242cc709e9957cb5b507a52f2d821 Mon Sep 17 00:00:00 2001 From: Xaver Hugl Date: Tue, 10 May 2022 09:31:50 +0200 Subject: [PATCH] effects/overview,windowview: restore ability to close windows --- src/effects/overview/qml/ScreenView.qml | 1 + src/effects/windowview/qml/main.qml | 1 + 2 files changed, 2 insertions(+) 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