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
This commit is contained in:
parent
1651b7d1d7
commit
6a1552efb6
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue