https://bugs.kde.org/show_bug.cgi?id=396790

--- Comment #4 from Vlad Zagorodniy <vladz...@gmail.com> ---
(In reply to David Edmundson from comment #3)
> Edit. I came to a decision on this. 
> 
> Explicit getter, implicit setter.
> 
> property: fullScreenEffectState -> enum of {No-one, Someone Else, Us}
> effect.animate(....., someFlagForFullScreen) 
> 
> best of both worlds.

+1

What about WindowForceBackgroundContrastRole and WindowForceBlurRole?

As far as I understand, effects have to force those roles and "unforce"
them in 

effect.fullScreenEffectStateChanged.connect(function () {
    // Check if we no longer full screen
    var windows = effects.stackingOrder();
    for (var i = 0; i < windows.length; ++i) {
        var w = windows[i];
        w.setData(WindowForceBackgroundContrastRole, null);
        w.setData(WindowForceBlurRole, null);
    }
});

right?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to