From 87aec00b668777cef82a9a43e490563e9c90f039 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Mon, 14 Apr 2014 00:35:13 +0200 Subject: [PATCH] Client: Minor code restyling in place_win(). --- src/client/wincontrol.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/client/wincontrol.c b/src/client/wincontrol.c index 816934a..21308e7 100644 --- 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 -- 2.30.2