@@ -32,7 +32,7 @@ Item {
3232
3333 // to be read from outside
3434 readonly property alias overlayShown: overlay.visible
35− readonly property alias moveHandler: moveHandler
35+ readonly property alias dragging: priv.dragging
3636
3737 signal fakeMaximizeAnimationRequested(real amount)
3838 signal fakeMaximizeLeftAnimationRequested(real amount)
@@ -85,13 +85,14 @@ Item {
8585 Timer {
8686 id: overlayTimer
8787 interval: 2000
88− repeat: moveHandler.dragging || (priv.resizeArea && priv.resizeArea.dragging)
88+ repeat: priv.dragging
8989 }
9090
9191 QtObject {
9292 id: priv
9393 readonly property var resizeArea: root.target && root.target.resizeArea ? root.target.resizeArea : null
9494 readonly property bool ensureWindow: root.target.state == "normal" || root.target.state == "restored"
95+ readonly property bool dragging: moveHandler.dragging || (resizeArea && resizeArea.dragging)
9596
9697 function getSensingPoints() {
9798 var xPoints = [];