From 47829e6ac37a8b923c479ffc01fefe77500bc7be Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Sat, 9 Mar 2024 12:26:51 +0200 Subject: [PATCH] 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. --- src/window.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/window.cpp b/src/window.cpp index e59eeb44c8..7353fee097 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -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()) {