From d143f6e3c4e5227b2c0d20828f26ec5f5fdae696 Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik Date: Tue, 24 May 2022 14:45:46 +0200 Subject: [PATCH] backends/x11: Arm vsync monitor in EglX11Backend This was originally on `EglX11Backend::endFrame` and got lost as part of refactoring in 7358daa9, breaking nested `kwin_wayland` rendering with GL. Signed-off-by: Victoria Fischer Tested-by: Merge Service Part-of: --- src/backends/x11/windowed/egl_x11_backend.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/backends/x11/windowed/egl_x11_backend.cpp b/src/backends/x11/windowed/egl_x11_backend.cpp index 4f617e779a..67c9fb5a6f 100644 --- a/src/backends/x11/windowed/egl_x11_backend.cpp +++ b/src/backends/x11/windowed/egl_x11_backend.cpp @@ -102,6 +102,8 @@ bool EglX11Backend::createSurfaces() void EglX11Backend::present(Output *output) { + static_cast(output)->vsyncMonitor()->arm(); + const auto &renderOutput = m_outputs[output]; presentSurface(renderOutput->surface(), renderOutput->lastDamage(), output->geometry()); }