From dcb2349a19443718ba552fe831151c181fcee771 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Thu, 25 Sep 2003 15:36:10 +0000 Subject: [PATCH] Fix #64769. CCMAIL:64769-done@bugs.kde.org svn path=/trunk/kdebase/kwin/; revision=253884 --- manage.cpp | 6 ------ workspace.cpp | 1 + 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/manage.cpp b/manage.cpp index 2541b34287..b19b052c70 100644 --- a/manage.cpp +++ b/manage.cpp @@ -474,12 +474,6 @@ bool Client::manage( Window w, bool isMapped ) if( isTopMenu()) hideClient( true ); - if ( !doNotShow ) - { - workspace()->updateClientArea(); - area = workspace()->clientArea( geometry().center() ); - } - if( user_time == CurrentTime ) // no known user time, set something old user_time = qt_x_time - 1000000; diff --git a/workspace.cpp b/workspace.cpp index 462d263e97..4144bf9e1f 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -426,6 +426,7 @@ void Workspace::addClient( Client* c, allowed_t ) } if( !unconstrained_stacking_order.contains( c )) unconstrained_stacking_order.append( c ); + updateClientArea(); // this cannot be in manage(), because the client got added only now updateClientLayer( c ); if( c->isDesktop()) {