Remove isWaitingForInteractiveMoveResizeSync() check when interactively moving a window

There's already a check at the start of the function. Although interactive
moves don't need to be synchronized with the client, in general.
This commit is contained in:
Vlad Zahorodnii 2024-03-09 12:26:51 +02:00
parent 6435adc9d8
commit 47829e6ac3

View file

@ -1463,10 +1463,8 @@ void Window::handleInteractiveMoveResize(const QPointF &local, const QPointF &gl
nextMoveResizeGeom = nextMoveGeometry(); // fix position
}
if (!isWaitingForInteractiveMoveResizeSync()) {
move(nextMoveResizeGeom.topLeft());
Q_EMIT interactiveMoveResizeStepped(nextMoveResizeGeom);
}
move(nextMoveResizeGeom.topLeft());
Q_EMIT interactiveMoveResizeStepped(nextMoveResizeGeom);
}
if (!isRequestedFullScreen()) {