Commit 14c5bd30 authored by Marco Martin's avatar Marco Martin
Browse files

use preventStealing in the taskmanager

the taskmanager will take the exclusive in threating all drop events, not colliding with the Panel dnd anymore

BUG:333317
parent 2144e455
......@@ -31,6 +31,7 @@ Item {
DropArea {
id: dropHandler
preventStealing: true;
anchors.fill: parent
property Item hoveredItem
......
......@@ -138,11 +138,7 @@ function checkLastSpacer() {
}
onDrop: {
if (currentLayout.childAt(event.x, event.y) == dndSpacer) {
plasmoid.processMimeData(event.mimeData, event.x, event.y);
} else {
dndSpacer.parent = root;
}
plasmoid.processMimeData(event.mimeData, event.x, event.y);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment