diff --git a/tests/auto/wayland/surface/tst_surface.cpp b/tests/auto/wayland/surface/tst_surface.cpp index 06e625155f2..9fe4188ef81 100644 --- a/tests/auto/wayland/surface/tst_surface.cpp +++ b/tests/auto/wayland/surface/tst_surface.cpp @@ -150,6 +150,9 @@ void tst_surface::negotiateShmFormat() void tst_surface::createSubsurface() { + m_config.autoFrameCallback = true; + auto autoFrameCallback = qScopeGuard([&] { m_config.autoFrameCallback = false; }); + QRasterWindow window; window.setObjectName("main"); window.resize(200, 200);