From eaca921e018fe17f165bc2f3fe1128054469d4af Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Fri, 28 May 2021 08:02:46 +0300 Subject: [PATCH] x11: Remove window rule geometry mismatch debug message If the geometry window rule must be forced, the move resize method has to force it, but similar to size constraints, we assume that the caller of the move resize function will do the right thing. So, remove the debug message to be consistent with other client types. --- src/x11client.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/x11client.cpp b/src/x11client.cpp index 796d8ef36d..5e0b75cf4a 100644 --- a/src/x11client.cpp +++ b/src/x11client.cpp @@ -4066,9 +4066,6 @@ void X11Client::moveResizeInternal(const QRect &rect, MoveResizeMode mode) m_clientGeometry = frameRectToClientRect(frameGeometry); } const QRect bufferGeometry = frameRectToBufferRect(frameGeometry); - if (!areGeometryUpdatesBlocked() && frameGeometry != rules()->checkGeometry(frameGeometry)) { - qCDebug(KWIN_CORE) << "forced geometry fail:" << frameGeometry << ":" << rules()->checkGeometry(frameGeometry); - } m_frameGeometry = frameGeometry; if (m_bufferGeometry == bufferGeometry && pendingMoveResizeMode() == MoveResizeMode::None) { return;