diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-11-29 00:33:46 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-11-29 00:34:07 -0600 |
commit | 17b142dd646ce4053f4548c0ff7b189531219c32 (patch) | |
tree | f1cdf93b01b4c76d8d9e5079d64c2a27b442cc98 /twin/placement.cpp | |
parent | 2f7d50c20cebb33745c0ecea5a5b6cc3f4747d6e (diff) | |
download | tdebase-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.cpp | 9 |
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) |