From 6a1552efb6249ff472990f784e7ef9bb16975fe4 Mon Sep 17 00:00:00 2001 From: Nate Graham Date: Thu, 5 Jan 2023 13:59:43 -0700 Subject: [PATCH] utils/xcbutils: reduce severity of "precision lost" message a debug Right now this is marked as critical, but it's not a critical error. Make it a debug to avoid spamming logs with not-very-actionable information. BUG: 463259 FIXED-IN: 5.27 --- src/utils/xcbutils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/xcbutils.cpp b/src/utils/xcbutils.cpp index 7f0ff780b4..cea0ef7c89 100644 --- a/src/utils/xcbutils.cpp +++ b/src/utils/xcbutils.cpp @@ -619,7 +619,7 @@ uint32_t toXNative(qreal value) { //debug helper, check for things getting mangled if (!qFuzzyIsNull(std::fmod(kwinApp()->xwaylandScale() * value, 1))) { - qCritical(KWIN_CORE) << "precision lost! floating value sent to X" << kwinApp()->xwaylandScale() * value; + qCDebug(KWIN_CORE) << "precision lost! floating value sent to X" << kwinApp()->xwaylandScale() * value; } return std::round(kwinApp()->xwaylandScale() * value); }