parent
9a3c3bd1ee
commit
450395e891
|
@ -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;
|
||||
|
||||
|
|
|
@ -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 );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue