From 7e3936e1842b1d7d277ff7496b3878762e2754c8 Mon Sep 17 00:00:00 2001 From: pengwenhao Date: Thu, 22 Aug 2024 14:43:49 +0800 Subject: [PATCH] fix: examples wlr-randr scale not work drm is pending, commit will fail, set scale to become invalid. do not commit and wait until the next frame to complete the scaling settings. Signed-off-by: pengwenhao --- examples/tinywl/main.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/tinywl/main.cpp b/examples/tinywl/main.cpp index e1e1520a5..8ed62a846 100644 --- a/examples/tinywl/main.cpp +++ b/examples/tinywl/main.cpp @@ -264,8 +264,6 @@ void Helper::initProtocols(WOutputRenderWindow *window, QQmlEngine *qmlEngine) if (onlyTest) ok &= output->test(); - else - ok &= output->commit(); } m_wOutputManager->sendResult(config, ok); });