D16391: [libkwineffects] Gracefully release previous window pixmap
Vlad Zagorodniy <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
zzag created this revision. zzag added a reviewer: KWin. Herald added a project: KWin. Herald added a subscriber: kwin. zzag requested review of this revision. REVISION SUMMARY If the cross fade animation is cancelled, we are not gracefully unreference the previous window pixmap. This change addresses that issue by using RAII approach to reference/unreference the previous window pixmap. TEST PLAN Manually. The Maximize and the Morphing Popups effect still work. REPOSITORY R108 KWin BRANCH libkwineffects-gracefully-release-previous-window-pixmap REVISION DETAIL https://phabricator.kde.org/D16391 AFFECTED FILES libkwineffects/anidata.cpp libkwineffects/anidata_p.h libkwineffects/kwinanimationeffect.cpp To: zzag, #kwin Cc: kwin, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart