summaryrefslogtreecommitdiffstats
path: root/twin/placement.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <[email protected]>2013-11-28 13:30:19 -0600
committerDarrell Anderson <[email protected]>2013-11-28 13:30:19 -0600
commit90f1f50f00651f7bc9f8acf50556968b4288400d (patch)
tree8d5df88cb28a00efd2c8b9f3c6b1ca7e6063ada9 /twin/placement.cpp
parent1c37295608c6d783b2b710f423befbcfb0068bbd (diff)
downloadtdebase-90f1f50f00651f7bc9f8acf50556968b4288400d.tar.gz
tdebase-90f1f50f00651f7bc9f8acf50556968b4288400d.zip
Fix remnant QMIN/QMAX to TQMIN/TQMAX.
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