Place in MaximizeArea, patch by Andreas Noever.
BUG: 166116 svn path=/branches/KDE/4.1/kdebase/workspace/; revision=842492
This commit is contained in:
parent
2e6aeb66d1
commit
880237bb7c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue