diff --git a/effects/taskbarthumbnail/taskbarthumbnail.cpp b/effects/taskbarthumbnail/taskbarthumbnail.cpp index 1b0a5ae3e4..4f1572f91a 100644 --- a/effects/taskbarthumbnail/taskbarthumbnail.cpp +++ b/effects/taskbarthumbnail/taskbarthumbnail.cpp @@ -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); }