effects/overview,windowview: restore ability to close windows

This commit is contained in:
Xaver Hugl 2022-05-10 09:31:50 +02:00
parent 2983727871
commit 7eefc48536
2 changed files with 2 additions and 0 deletions

View file

@ -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

View file

@ -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