[wayland] Ensure internal clients can trigger compositor repaints

This commit is contained in:
Martin Gräßlin 2015-06-06 17:36:04 +02:00
parent 7f0758b85f
commit 86e0fc4dde

View file

@ -757,6 +757,12 @@ bool Compositor::windowRepaintsPending() const
return true; return true;
} }
} }
const auto &internalClients = w->internalClients();
for (auto c : internalClients) {
if (!c->repaints().isEmpty()) {
return true;
}
}
} }
#endif #endif
return false; return false;