From e519c91eea6142f215e5d8648a5c5ec16ac3d7cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Wed, 21 Jan 2004 08:46:32 +0000 Subject: [PATCH] Disable xinerama placement when session restoring. svn path=/trunk/kdebase/kwin/; revision=281487 --- manage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manage.cpp b/manage.cpp index 21a5da3df1..a3421e61eb 100644 --- a/manage.cpp +++ b/manage.cpp @@ -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());