TaskbarThumbnails should say that it needs transformed windows.
Fixes a nice transformation issue when using thumbnails after cube effect.
This commit is contained in:
parent
78c4c7a86e
commit
764338e042
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue