Commit 89001b1a authored by Vlad Zahorodnii's avatar Vlad Zahorodnii

Don't detach list of damaged windows when sending 'done' events

Summary: Most likely, someone forgot to add `qAsConst`.

Reviewers: #kwin, broulik

Reviewed By: broulik

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D13830
parent e7d6f12b
......@@ -755,7 +755,7 @@ void Compositor::performCompositing()
m_timeSinceStart += m_timeSinceLastVBlank;
if (waylandServer()) {
for (Toplevel *win : damaged) {
for (Toplevel *win : qAsConst(damaged)) {
if (auto surface = win->surface()) {
surface->frameRendered(m_timeSinceStart);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment