D17343: [wayland] Don't honor the idle inhibitor object if the surface is not visible
Martin Flöser <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
graesslin added inline comments.
INLINE COMMENTS
> idle_inhibition.cpp:113
> + workspace()->forEachAbstractClient([this] (AbstractClient *c) {
> + if (auto client = qobject_cast<ShellClient *>(c)) {
> + update(client);
I don't think we need to cast here at all. AbstractClient has a surface() as well.
REPOSITORY
R108 KWin
REVISION DETAIL
https://phabricator.kde.org/D17343
To: zzag, #kwin
Cc: graesslin, kwin, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart