diff --git a/src/scene/workspacescene.cpp b/src/scene/workspacescene.cpp index bb37238e8b..3535b65a9c 100644 --- a/src/scene/workspacescene.cpp +++ b/src/scene/workspacescene.cpp @@ -238,12 +238,7 @@ QRegion WorkspaceScene::prePaint(SceneDelegate *delegate) const std::chrono::milliseconds presentTime = std::chrono::duration_cast(renderLoop->nextPresentationTimestamp()); - if (Q_UNLIKELY(presentTime < m_expectedPresentTimestamp)) { - qCDebug(KWIN_CORE, - "Provided presentation timestamp is invalid: %lld (current: %lld)", - static_cast(presentTime.count()), - static_cast(m_expectedPresentTimestamp.count())); - } else { + if (presentTime > m_expectedPresentTimestamp) { m_expectedPresentTimestamp = presentTime; }