Diffusion KWin 8063740efb86

[effects/translucency] Make inactive Wayland clients translucent

Authored by zzag on Oct 19 2018, 3:12 PM.

Description

[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

Details

Committed
zzagOct 19 2018, 3:24 PM
Reviewer
KWin
Differential Revision
D16319: [effects/translucency] Make inactive Wayland clients translucent
Parents
R108:4e545f5594fc: [effects/dimscreen] Make it work on Wayland
Branches
Unknown
Tags
Unknown