TaskbarThumbnails should say that it needs transformed windows.

Fixes a nice transformation issue when using thumbnails after cube effect.
This commit is contained in:
Martin Gräßlin 2011-01-02 21:29:11 +01:00
parent 78c4c7a86e
commit 764338e042

View file

@ -53,9 +53,9 @@ TaskbarThumbnailEffect::~TaskbarThumbnailEffect()
void TaskbarThumbnailEffect::prePaintScreen( ScreenPrePaintData& data, int time )
{
// if( thumbnails.count() > 0 )
// // TODO this should not be needed (it causes whole screen repaint)
// data.mask |= PAINT_SCREEN_WITH_TRANSFORMED_WINDOWS;
if (thumbnails.count() > 0) {
data.mask |= PAINT_SCREEN_WITH_TRANSFORMED_WINDOWS_WITHOUT_FULL_REPAINTS;
}
effects->prePaintScreen(data, time);
}