[effects/translucency] Make inactive Wayland clients translucent
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 Test Plan: * Open KCM of the Translucency effect and decrease opacity of inactive windows; * Open Dolphin; * Click on desktop. Reviewers: #kwin, davidedmundson Reviewed By: #kwin, davidedmundson Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D16319
This commit is contained in:
parent
4e545f5594
commit
8063740efb
1 changed files with 2 additions and 1 deletions
|
@ -185,7 +185,8 @@ var translucencyEffect = {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (window === effects.activeWindow ||
|
if (window === effects.activeWindow ||
|
||||||
window.managed === false ||
|
window.popup === true ||
|
||||||
|
(window.x11Client === true && window.managed === false) ||
|
||||||
window.desktopWindow === true ||
|
window.desktopWindow === true ||
|
||||||
window.dock === true ||
|
window.dock === true ||
|
||||||
window.visible === false ||
|
window.visible === false ||
|
||||||
|
|
Loading…
Reference in a new issue