compile fixes for FreeBSD
svn path=/trunk/kdebase/ksysguard/; revision=103271
This commit is contained in:
parent
ca6ab94cda
commit
934bd760cb
1 changed files with 12 additions and 0 deletions
12
client.cpp
12
client.cpp
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue