D16454: [effects/fadedesktop] Rewrite it
Vlad Zagorodniy <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
zzag added inline comments.
INLINE COMMENTS
> zzag wrote in main.js:29
> Oh, I forgot that there's the second parameter.
Well, we still need
if (window.animation) {
if (redirect(window.animation, Effect.SomewhereIBelong) {
return;
}
cancel(window.animation);
}
window.animation = animate({ ... });
because redirect can fail. It most likely won't happen, but we still need to handle such cases.
REPOSITORY
R108 KWin
REVISION DETAIL
https://phabricator.kde.org/D16454
To: zzag, #kwin
Cc: davidedmundson, kwin, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart