[effects/diminactive] Dim Wayland clients
Summary: There is no concept of managed windows in Wayland, so every time we call managed() on a Wayland client, it will return false. This change addresses that problem by invoking managed() only for X11 clients. CCBUG: 398100 Reviewers: #kwin, davidedmundson Reviewed By: #kwin, davidedmundson Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D16312
This commit is contained in:
parent
ab5d66dc0f
commit
9f3a447a43
1 changed files with 5 additions and 1 deletions
|
@ -199,7 +199,11 @@ bool DimInactiveEffect::canDimWindow(const EffectWindow *w) const
|
|||
return false;
|
||||
}
|
||||
|
||||
if (!w->isManaged()) {
|
||||
if (w->isPopupWindow()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (w->isX11Client() && !w->isManaged()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue