From ef5340d6b92641b0c28c39b2ab362eec8f8648c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Tue, 10 Feb 2004 11:45:00 +0000 Subject: [PATCH] Don't force windows to be inside workarea if their geometry comes from session restoration or if the window is already mapped. CCMAIL: 74057-done@bugs.kde.org svn path=/trunk/kdebase/kwin/; revision=286752 --- manage.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manage.cpp b/manage.cpp index 606fd595a1..d55310f1f4 100644 --- a/manage.cpp +++ b/manage.cpp @@ -276,7 +276,8 @@ bool Client::manage( Window w, bool isMapped ) placementDone = TRUE; } - if (( !isSpecialWindow() || isToolbar()) && isMovable()) + if( !isMapped && !session // trust position from session or if already mapped + && ( !isSpecialWindow() || isToolbar()) && isMovable()) keepInArea( area ); XShapeSelectInput( qt_xdisplay(), window(), ShapeNotifyMask );