Diffusion KWin 688d946ffb08

[libkwineffects] Gracefully release previous window pixmap

Authored by zzag on Oct 23 2018, 5:21 PM.

Description

[libkwineffects] Gracefully release previous window pixmap

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.

Reviewers: KWin, davidedmundson

Reviewed By: KWin, davidedmundson

Subscribers: davidedmundson, kwin

Tags: KWin

Differential Revision: https://phabricator.kde.org/D16391

Details

Committed
zzagNov 12 2018, 10:51 AM
Reviewer
KWin
Differential Revision
D16391: [libkwineffects] Gracefully release previous window pixmap
Parents
R108:93abb9a27318: Don't cache value of popupWindow property in EffectWindow
Branches
Unknown
Tags
Unknown