From 6dffda920a7d749644782242b1ffc24153b82411 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Tue, 23 Nov 2021 17:12:45 +0200 Subject: [PATCH] effectkit: Allow disabling dnd in WindowHeap --- src/effects/private/qml/WindowHeap.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/effects/private/qml/WindowHeap.qml b/src/effects/private/qml/WindowHeap.qml index d35faca3f7..763790dbf2 100644 --- a/src/effects/private/qml/WindowHeap.qml +++ b/src/effects/private/qml/WindowHeap.qml @@ -26,6 +26,7 @@ FocusScope { property int selectedIndex: -1 property int animationDuration: PlasmaCore.Units.longDuration property bool animationEnabled: false + property bool dragEnabled: true property real padding: 0 property var showOnly: [] @@ -300,6 +301,7 @@ FocusScope { component DragManager : DragHandler { id: dragHandler + enabled: heap.dragEnabled target: null readonly property double targetScale: {