From 764338e0424447ce30c614ac12561af885d6315b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Sun, 2 Jan 2011 21:29:11 +0100 Subject: [PATCH] TaskbarThumbnails should say that it needs transformed windows. Fixes a nice transformation issue when using thumbnails after cube effect. --- effects/taskbarthumbnail/taskbarthumbnail.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); }