Place in MaximizeArea, patch by Andreas Noever.
BUG: 166116 svn path=/trunk/KDE/kdebase/workspace/; revision=842490
This commit is contained in:
parent
45c3b4dc0c
commit
c1727e6740
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ void ThumbnailAsideEffect::arrange()
|
||||||
mwidth = qMax( mwidth, d.window->width());
|
mwidth = qMax( mwidth, d.window->width());
|
||||||
pos[ d.index ] = d.window->height();
|
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 );
|
double scale = area.height() / double( height );
|
||||||
scale = qMin( scale, maxwidth / double( mwidth )); // don't be wider than maxwidth pixels
|
scale = qMin( scale, maxwidth / double( mwidth )); // don't be wider than maxwidth pixels
|
||||||
int add = 0;
|
int add = 0;
|
||||||
|
|
Loading…
Reference in a new issue