[wayland] Ensure internal clients can trigger compositor repaints
This commit is contained in:
parent
7f0758b85f
commit
86e0fc4dde
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue