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 <victoria.fischer@mbition.io>
Tested-by: Merge Service <https://invent.kde.org/plasma/kwin/-/merge_requests/2458>
Part-of: <https://invent.kde.org/plasma/kwin/-/merge_requests/2458>
This commit is contained in:
parent
cad5ddbab3
commit
d143f6e3c4
1 changed files with 2 additions and 0 deletions
|
@ -102,6 +102,8 @@ bool EglX11Backend::createSurfaces()
|
|||
|
||||
void EglX11Backend::present(Output *output)
|
||||
{
|
||||
static_cast<X11WindowedOutput *>(output)->vsyncMonitor()->arm();
|
||||
|
||||
const auto &renderOutput = m_outputs[output];
|
||||
presentSurface(renderOutput->surface(), renderOutput->lastDamage(), output->geometry());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue