From 0aeabb9550a199c881a6037804acd5f73386f207 Mon Sep 17 00:00:00 2001 From: Eike Hein Date: Wed, 4 Jan 2006 16:16:26 +0000 Subject: [PATCH] Forward-port r494303 from 3.5 branch. svn path=/trunk/KDE/kdebase/workspace/; revision=494311 --- geometry.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/geometry.cpp b/geometry.cpp index 49fa22d0b3..04934e3e5a 100644 --- a/geometry.cpp +++ b/geometry.cpp @@ -2071,9 +2071,7 @@ void Client::setFullScreen( bool set, bool user ) setGeometry( workspace()->clientArea( FullScreenArea, this )); else { - if( maximizeMode() != MaximizeRestore ) - changeMaximize( false, false, true ); // adjust size - else if( !geom_fs_restore.isNull()) + if( !geom_fs_restore.isNull()) setGeometry( QRect( geom_fs_restore.topLeft(), adjustedSize( geom_fs_restore.size()))); // TODO isShaded() ? else