compile fixes for FreeBSD

svn path=/trunk/kdebase/ksysguard/; revision=103271
This commit is contained in:
bhughes 2001-06-21 08:46:44 +00:00
parent ca6ab94cda
commit 934bd760cb

View file

@ -623,6 +623,17 @@ bool Client::manage( bool isMapped, bool doNotShow, bool isInitial )
XFree(classHint.res_class);
}
if ((xSizeHint.flags & PPosition) && ! ignorePPosition) {
int tx = geom.x();
int ty = geom.y();
if (tx < 0)
tx = area.right() + tx;
if (ty < 0)
ty = area.bottom() + ty;
geom.moveTopLeft(QPoint(tx, ty));
}
if ( ( (xSizeHint.flags & PPosition) && !ignorePPosition ) ||
(xSizeHint.flags & USPosition) ) {
placementDone = TRUE;
@ -2774,6 +2785,7 @@ Window Client::staticWmClientLeader(WId w)
return result;
}
void Client::getWmClientLeader()
{
wmClientLeaderWin = staticWmClientLeader(win);