From f6796ac860d4d9db2a7971a49eb45e6f9735610c Mon Sep 17 00:00:00 2001 From: Ismael Asensio Date: Fri, 10 Sep 2021 17:25:19 +0200 Subject: [PATCH] [effects/overview] Only show close button for closeable windows --- src/effects/overview/qml/WindowHeap.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/effects/overview/qml/WindowHeap.qml b/src/effects/overview/qml/WindowHeap.qml index 7fa8badf0b..0259196934 100644 --- a/src/effects/overview/qml/WindowHeap.qml +++ b/src/effects/overview/qml/WindowHeap.qml @@ -208,7 +208,7 @@ FocusScope { anchors.topMargin: PlasmaCore.Units.largeSpacing implicitWidth: PlasmaCore.Units.iconSizes.medium implicitHeight: implicitWidth - visible: hovered || hoverHandler.hovered + visible: (hovered || hoverHandler.hovered) && thumb.client.closeable onClicked: thumb.client.closeWindow(); }