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

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:
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()) {
Supports Markdown
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