Place in MaximizeArea, patch by Andreas Noever.

BUG: 166116


svn path=/branches/KDE/4.1/kdebase/workspace/; revision=842492
This commit is contained in:
Luboš Luňák 2008-08-05 12:04:14 +00:00
parent 2e6aeb66d1
commit 880237bb7c

View file

@ -145,7 +145,7 @@ void ThumbnailAsideEffect::arrange()
mwidth = qMax( mwidth, d.window->width());
pos[ d.index ] = d.window->height();
}
QRect area = effects->clientArea( WorkArea, screen, effects->currentDesktop());
QRect area = effects->clientArea( MaximizeArea, screen, effects->currentDesktop());
double scale = area.height() / double( height );
scale = qMin( scale, maxwidth / double( mwidth )); // don't be wider than maxwidth pixels
int add = 0;