From 880237bb7c89aa005c8acc433fcfb1b1ecb8c796 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Tue, 5 Aug 2008 12:04:14 +0000 Subject: [PATCH] Place in MaximizeArea, patch by Andreas Noever. BUG: 166116 svn path=/branches/KDE/4.1/kdebase/workspace/; revision=842492 --- effects/thumbnailaside.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/effects/thumbnailaside.cpp b/effects/thumbnailaside.cpp index 46cbdf538d..cbf8d7e3ee 100644 --- a/effects/thumbnailaside.cpp +++ b/effects/thumbnailaside.cpp @@ -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;