Skip to content

Commit 7e3936e

Browse files
author
pengwenhao
committed
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 <[email protected]>
1 parent 5dc2d39 commit 7e3936e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

examples/tinywl/main.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,6 @@ void Helper::initProtocols(WOutputRenderWindow *window, QQmlEngine *qmlEngine)
264264

265265
if (onlyTest)
266266
ok &= output->test();
267-
else
268-
ok &= output->commit();
269267
}
270268
m_wOutputManager->sendResult(config, ok);
271269
});

0 commit comments

Comments
 (0)