[libkwineffects] Emit a signal when active fullscreen effect changed
ClosedPublic

Authored by zzag on Jun 23 2018, 7:57 PM.

Details

Summary

Behaviour of some effects depends on presence of active fullscreen effect.
For example, Dim Inactive effect brightens windows if there is an active
fullscreen effect. If active fullscreen effect has been changed, these effects
might need to do some setup work, e.g. schedule repainting, toggle direction
of a timeline, etc.

For what it's worth, because the Dim Inactive effect doesn't schedule
repainting after leaving Desktop Grid, windows aren't dimmed back. One
need to move mouse to trigger dimming.

Diff Detail

Repository
R108 KWin
Branch
libkwineffects-emit-activefullscreen-effect-changed
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 263
Build 263: arc lint + arc unit
zzag created this revision.Jun 23 2018, 7:57 PM
Restricted Application added a project: KWin. · View Herald TranscriptJun 23 2018, 7:57 PM
Restricted Application added a subscriber: kwin. · View Herald Transcript
zzag requested review of this revision.Jun 23 2018, 7:57 PM
graesslin accepted this revision.Jun 24 2018, 8:25 AM
This revision is now accepted and ready to land.Jun 24 2018, 8:25 AM
This revision was automatically updated to reflect the committed changes.