swc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/swc
Log | Files | Refs | README | LICENSE

commit 4caf5cc2a3a3dbd872a0a88afc65d738ec5905c9
parent 195c797ba43e1ec5d8bf2f25f58e792f786a9846
Author: Michael Forney <mforney@mforney.org>
Date:   Thu, 30 Jan 2014 02:19:58 -0800

example/wm: Fix calculation of x coordinate for window geometry

Diffstat:
Mexample/wm.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/example/wm.c b/example/wm.c @@ -72,7 +72,7 @@ static void arrange(struct screen * screen) for (column_index = 0; &window->link != &screen->windows; ++column_index) { geometry.x = screen_geometry->x + border_width - + screen_geometry->width * column_index / num_columns + border_width; + + screen_geometry->width * column_index / num_columns; geometry.width = screen_geometry->width / num_columns - 2 * border_width;