@@ -235,13 +235,6 @@ Item {
235235 updateCurrentItemFromPosition(Qt.point(mouseX, mouseY))
236236 }
237237 }
238− onPositionChanged: {
239− root.positionChanged(mouse);
240− moved = root.windowMoving;
241− if (d.currentItem) {
242− updateCurrentItemFromPosition(Qt.point(mouse.x, mouse.y))
243− }
244− }
245238
246239 onClicked: {
247240 if (!moved) {
@@ -260,6 +253,15 @@ Item {
260253 onReleased: root.released(mouse)
261254 onDoubleClicked: root.doubleClicked(mouse)
262255
256+ Mouse.ignoreSynthesizedEvents: true
257+ Mouse.onPositionChanged: {
258+ root.positionChanged(mouse);
259+ moved = root.windowMoving;
260+ if (d.currentItem) {
261+ updateCurrentItemFromPosition(Qt.point(mouse.x, mouse.y))
262+ }
263+ }
264+
263265 function updateCurrentItemFromPosition(point) {
264266 var pos = mapToItem(row, point.x, point.y);
265267