From 17b142dd646ce4053f4548c0ff7b189531219c32 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 29 Nov 2014 00:33:46 -0600 Subject: Send setActive signal when taking focus in Client::takeFocus This relates to Bug 2189 Clean up minor formatting issues --- twin/placement.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'twin/placement.cpp') 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) -- cgit v1.2.1