@@ -778,7 +778,6 @@ Item {
778778 verify(decoration);
779779
780780 // grab the decoration
781− var posBefore = Qt.point(appDelegate.x, appDelegate.y);
782781 mousePress(decoration);
783782
784783 // enter the spread
@@ -788,9 +787,8 @@ Item {
788787 // try to drag the window
789788 mouseMove(decoration, 10, 10, 200);
790789
791− // verify it hasn't moved
792− var posAfter = Qt.point(appDelegate.x, appDelegate.y);
793− tryCompareFunction(function(){return posBefore == posAfter;}, true);
790+ // verify it's not moving even before we release the decoration drag
791+ tryCompare(appDelegate, "dragging", false);
794792
795793 // cleanup
796794 mouseRelease(decoration);