[effects/translucency] Make inactive Wayland clients translucent
ClosedPublic

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

Details

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.

Diff Detail

Repository
R108 KWin
Branch
effects-translucency-wayland
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 4058
Build 4076: arc lint + arc unit
zzag created this revision.Oct 19 2018, 3:22 PM
Restricted Application added a project: KWin. · View Herald TranscriptOct 19 2018, 3:22 PM
Restricted Application added a subscriber: kwin. · View Herald Transcript
zzag requested review of this revision.Oct 19 2018, 3:22 PM
davidedmundson accepted this revision.Oct 19 2018, 3:23 PM
This revision is now accepted and ready to land.Oct 19 2018, 3:23 PM
This revision was automatically updated to reflect the committed changes.