https://bugs.kde.org/show_bug.cgi?id=396790
Bug ID: 396790 Summary: ScriptedEffects cannot call setActiveFullScreenEffect Product: kwin Version: unspecified Platform: Other OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: scripting Assignee: kwin-bugs-n...@kde.org Reporter: k...@davidedmundson.co.uk Target Milestone: --- This is needed for eg. the fade desktop effect to not clash with others. (I'll do the QJSEngine port first, then I'll do it) I'm not sure if we want to make it explicit or implicit from the API. i.e effects['desktopChanged'].connect(function(oldDesktop, newDesktop) { if (someoneElseHasActiveFullScreenEffect()) { return; } setUsAsActiveFullScreenEffect(); //set up some animations } effect.activeChanged.connect(function() { if (!active) releaseActiveFullScreenEffect(); }); (not exact terms, could be a JS RAII equivalent or whatever) OR to make it merged into the effect.animate like effect.animate(w, Effect.whatever, duration, 0, FullScreen); where the last flag no-ops if someone else is fullscreen otherwise calls setsFullScreenEffect(this) with some internal ref-counting. -- You are receiving this mail because: You are watching all bug changes.