summaryrefslogtreecommitdiffstats
path: root/twin/placement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'twin/placement.cpp')
-rw-r--r--twin/placement.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/twin/placement.cpp b/twin/placement.cpp
index 84be2e0b8..bea707d1f 100644
--- a/twin/placement.cpp
+++ b/twin/placement.cpp
@@ -188,8 +188,8 @@ void Placement::placeSmart(Client* c, const TQRect& area, Policy /*next*/ )
if((cxl < xr) && (cxr > xl) &&
(cyt < yb) && (cyb > yt))
{
- xl = QMAX(cxl, xl); xr = QMIN(cxr, xr);
- yt = QMAX(cyt, yt); yb = QMIN(cyb, yb);
+ xl = TQMAX(cxl, xl); xr = TQMIN(cxr, xr);
+ yt = TQMAX(cyt, yt); yb = TQMIN(cyb, yb);
if((*l)->keepAbove())
overlap += 16 * (xr - xl) * (yb - yt);
else if((*l)->keepBelow() && !(*l)->isDock()) // ignore KeepBelow windows