diff --git a/composite.cpp b/composite.cpp index a5341460b6..5551210b83 100644 --- a/composite.cpp +++ b/composite.cpp @@ -764,7 +764,7 @@ void Compositor::performCompositing() m_timeSinceStart += m_timeSinceLastVBlank; if (waylandServer()) { - for (Toplevel *win : qAsConst(damaged)) { + for (Toplevel *win : qAsConst(windows)) { if (auto surface = win->surface()) { surface->frameRendered(m_timeSinceStart); }