From 86e0fc4dded4dac41efdad653d7bb631ad5d1acf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Sat, 6 Jun 2015 17:36:04 +0200 Subject: [PATCH] [wayland] Ensure internal clients can trigger compositor repaints --- composite.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/composite.cpp b/composite.cpp index 742db06113..8371390613 100644 --- a/composite.cpp +++ b/composite.cpp @@ -757,6 +757,12 @@ bool Compositor::windowRepaintsPending() const return true; } } + const auto &internalClients = w->internalClients(); + for (auto c : internalClients) { + if (!c->repaints().isEmpty()) { + return true; + } + } } #endif return false;