small things

svn path=/trunk/kdebase/kwin/; revision=58969
icc-effect-5.14.5
Matthias Ettrich 2000-07-27 17:58:09 +00:00
parent 9a3c3bd1ee
commit 450395e891
2 changed files with 3 additions and 5 deletions

View File

@ -470,11 +470,11 @@ bool Client::manage( bool isMapped, bool doNotShow )
if (layout())
layout()->setResizeMode( QLayout::Minimum );
XWindowAttributes attr;
if (XGetWindowAttributes(qt_xdisplay(), win, &attr))
original_geometry.setRect(attr.x, attr.y, attr.width, attr.height );
QRect geom( original_geometry );
bool placementDone = FALSE;

View File

@ -2669,10 +2669,8 @@ void Workspace::updateClientArea()
r.pos.y = area.y();
r.size.width = area.width();
r.size.height = area.height();
for( int i = 1; i <= numberOfDesktops(); i++) {
qDebug("setWorkArea %d to %d %d %d %d", i, area.x(), area.y(), area.width(), area.height() );
for( int i = 1; i <= numberOfDesktops(); i++)
rootInfo->setWorkArea( i, r );
}
}
}