diff --git a/src/effects/overview/qml/DesktopBar.qml b/src/effects/overview/qml/DesktopBar.qml index 0d4c824085..7cbf1037e2 100644 --- a/src/effects/overview/qml/DesktopBar.qml +++ b/src/effects/overview/qml/DesktopBar.qml @@ -151,7 +151,7 @@ Item { } Rectangle { - readonly property bool active: !thumbnail.scaled && (delegate.activeFocus || dropArea.containsDrag || bar.selectedDesktop === delegate.desktop) + readonly property bool active: !thumbnail.scaled && (delegate.activeFocus || dropArea.containsDrag || mouseArea.containsPress || bar.selectedDesktop === delegate.desktop) anchors.fill: parent radius: 3 color: "transparent" @@ -161,6 +161,7 @@ Item { } MouseArea { + id: mouseArea anchors.fill: parent acceptedButtons: Qt.LeftButton | Qt.MiddleButton onClicked: {