Disable xinerama placement when session restoring.

svn path=/trunk/kdebase/kwin/; revision=281487
This commit is contained in:
Luboš Luňák 2004-01-21 08:46:32 +00:00
parent e5d6fb447d
commit e519c91eea

View file

@ -189,7 +189,7 @@ bool Client::manage( Window w, bool isMapped )
geom = session->geometry;
QRect area;
if( isMapped )
if( isMapped || session )
area = workspace()->clientArea( WorkArea, geom.center(), desktop());
else if( options->xineramaPlacementEnabled )
area = workspace()->clientArea( PlacementArea, QCursor::pos(), desktop());