commit 0b6949df08a8200fef4c0d93cd27c929933d53bf
parent 7868e44d3f4f89752baa315d62df2152daaa5b77
Author: Drew DeVault <sir@cmpwn.com>
Date: Sun, 13 Dec 2015 17:01:16 -0500
Merge pull request #305 from mikkeloscar/fix-window-start
Don't reset x,y position before use.
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/sway/layout.c b/sway/layout.c
@@ -455,7 +455,6 @@ static void arrange_windows_r(swayc_t *container, double width, double height) {
container->width = width;
container->height = height;
- x = 0, y = 0;
for (i = 0; i < container->children->length; ++i) {
swayc_t *child = container->children->items[i];
int gap = swayc_gap(child);