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
This commit is contained in:
Luboš Luňák 2004-02-10 11:45:00 +00:00
parent 5f079f5e3d
commit ef5340d6b9

View file

@ -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 );