summaryrefslogtreecommitdiffstats
path: root/twin/placement.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2014-11-29 00:33:46 -0600
committerTimothy Pearson <[email protected]>2014-11-29 00:34:07 -0600
commit17b142dd646ce4053f4548c0ff7b189531219c32 (patch)
treef1cdf93b01b4c76d8d9e5079d64c2a27b442cc98 /twin/placement.cpp
parent2f7d50c20cebb33745c0ecea5a5b6cc3f4747d6e (diff)
downloadtdebase-17b142dd646ce4053f4548c0ff7b189531219c32.tar.gz
tdebase-17b142dd646ce4053f4548c0ff7b189531219c32.zip
Send setActive signal when taking focus in Client::takeFocus
This relates to Bug 2189 Clean up minor formatting issues
Diffstat (limited to 'twin/placement.cpp')
-rw-r--r--twin/placement.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/twin/placement.cpp b/twin/placement.cpp
index bea707d1f..8112b7157 100644
--- a/twin/placement.cpp
+++ b/twin/placement.cpp
@@ -362,12 +362,17 @@ void Placement::placeCascaded (Client* c, TQRect& area, Policy nextPlacement)
if ((yp + ch) > H) yp = Y;
if ((xp + cw) > W)
- if (!yp)
+ {
+ if (!yp)
{
place(c,area,nextPlacement);
return;
}
- else xp = X;
+ }
+ else
+ {
+ xp = X;
+ }
//if this isn't the first window
if (cci[dn].pos.x() != X && cci[dn].pos.y() != Y)