diff --git a/src/effects/private/qml/WindowHeap.qml b/src/effects/private/qml/WindowHeap.qml index ac902e97d2..7715942f2c 100644 --- a/src/effects/private/qml/WindowHeap.qml +++ b/src/effects/private/qml/WindowHeap.qml @@ -122,7 +122,9 @@ FocusScope { Drag.active: thumb.activeDragHandler.active Drag.source: thumb.client - Drag.hotSpot: Qt.point(width * 0.5, height * 0.5) + Drag.hotSpot: Qt.point( + thumb.activeDragHandler.centroid.pressPosition.x * thumb.activeDragHandler.targetScale, + thumb.activeDragHandler.centroid.pressPosition.y * thumb.activeDragHandler.targetScale) states: [ State {