home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcfa659
)
Client: Minor code restyling in place_win().
author
Christian Heller
<c.heller@plomlompom.de>
Sun, 13 Apr 2014 22:35:13 +0000
(
00:35
+0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Sun, 13 Apr 2014 22:35:13 +0000
(
00:35
+0200)
src/client/wincontrol.c
patch
|
blob
|
history
diff --git
a/src/client/wincontrol.c
b/src/client/wincontrol.c
index 816934a425e17a7d4d1851bdebc81f13fcb92658..21308e728117756f7dc62f3ec356fd01920f5924 100644
(file)
--- a/
src/client/wincontrol.c
+++ b/
src/client/wincontrol.c
@@
-109,9
+109,7
@@
static void place_win(struct Win * w)
* top, fit w's top left corner to that predecessor's top right corner.
*/
struct Win * w_top = w_prev;
- for (;
- w_top->start.y != 0 + sep;
- w_top = get_win_before(w_top->id));
+ for (; w_top->start.y != 0 + sep; w_top = get_win_before(w_top->id));
w->start.x = w_top->start.x + w_top->frame_size.x + sep;
/* If enough space is found below w's predecessor, fit w's top left