summaryrefslogtreecommitdiff
path: root/src/mtexturepixmapitem_egl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mtexturepixmapitem_egl.cpp')
-rw-r--r--src/mtexturepixmapitem_egl.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mtexturepixmapitem_egl.cpp b/src/mtexturepixmapitem_egl.cpp
index 3bd7b60..e59fbaf 100644
--- a/src/mtexturepixmapitem_egl.cpp
+++ b/src/mtexturepixmapitem_egl.cpp
@@ -283,8 +283,10 @@ void MTexturePixmapItem::updateWindowPixmap(XRectangle *rects, int num,
d->pastDamages = NULL;
}
- if (d->direct_fb_render || !windowVisible()
- || propertyCache()->isInputOnly())
+ // we want to update the pixmap even if the item is not visible because
+ // certain animations require up-to-date pixmap (alternatively we could mark
+ // it dirty and update it before the animation starts...)
+ if (d->direct_fb_render || propertyCache()->isInputOnly())
return;
QRegion r;