From 279fc912407c50537182eec05e3d9646057a4510 Mon Sep 17 00:00:00 2001 From: Matthias Ettrich Date: Sat, 13 Nov 1999 03:48:58 +0000 Subject: [PATCH] some debug output removed, small fix to initial sizeflag handling svn path=/trunk/kdebase/kwin/; revision=33647 --- client.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/client.cpp b/client.cpp index 9902c47f56..a720e1ebcf 100644 --- a/client.cpp +++ b/client.cpp @@ -307,7 +307,6 @@ void Client::manage( bool isMapped ) QRect geom( original_geometry ); bool placementDone = FALSE; - qDebug("geom: width=%d", geom.width() ); if ( isMapped ) placementDone = TRUE; else { @@ -327,7 +326,6 @@ void Client::manage( bool isMapped ) } } - qDebug("geom after: width=%d", geom.width() ); // the clever activate() trick is necessary layout()->activate(); resize ( sizeForWindowSize( geom.size() ) ); @@ -367,9 +365,8 @@ void Client::getWmNormalHints() { // TODO keep in mind changing of fix size! if !isWithdrawn()! long msize; - if (XGetWMNormalHints(qt_xdisplay(), win, &xSizeHint, &msize) == 0 - || xSizeHint.flags == 0) - xSizeHint.flags = PSize; /* not specified */ + if (XGetWMNormalHints(qt_xdisplay(), win, &xSizeHint, &msize) == 0 ) + xSizeHint.flags = 0; } /*!