[effects/slidingpopups] Don't reference previous pixmap
Not needed, it works without it.
This commit is contained in:
parent
d443e54901
commit
6161c50187
1 changed files with 0 additions and 4 deletions
|
@ -115,8 +115,6 @@ void SlidingPopupsEffect::prePaintWindow(EffectWindow* w, WindowPrePaintData& da
|
||||||
w->addRepaintFull();
|
w->addRepaintFull();
|
||||||
if (w->isDeleted()) {
|
if (w->isDeleted()) {
|
||||||
w->unrefWindow();
|
w->unrefWindow();
|
||||||
} else {
|
|
||||||
w->unreferencePreviousWindowPixmap();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -321,8 +319,6 @@ void SlidingPopupsEffect::slotWindowClosed(EffectWindow* w)
|
||||||
if (w->isOnCurrentDesktop() && !w->isMinimized() && mWindowsData.contains(w)) {
|
if (w->isOnCurrentDesktop() && !w->isMinimized() && mWindowsData.contains(w)) {
|
||||||
if (w->isDeleted()) {
|
if (w->isDeleted()) {
|
||||||
w->refWindow();
|
w->refWindow();
|
||||||
} else {
|
|
||||||
w->referencePreviousWindowPixmap();
|
|
||||||
}
|
}
|
||||||
auto it = mAppearingWindows.find(w);
|
auto it = mAppearingWindows.find(w);
|
||||||
if (it != mAppearingWindows.end()) {
|
if (it != mAppearingWindows.end()) {
|
||||||
|
|
Loading…
Reference in a new issue