From 934bd760cbe302f40989f2a57df7b8b8a635b21f Mon Sep 17 00:00:00 2001 From: bhughes Date: Thu, 21 Jun 2001 08:46:44 +0000 Subject: [PATCH] compile fixes for FreeBSD svn path=/trunk/kdebase/ksysguard/; revision=103271 --- client.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/client.cpp b/client.cpp index d9619e8731..88652245e4 100644 --- a/client.cpp +++ b/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);