diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-12-13 17:01:16 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-12-13 17:01:16 -0500 |
commit | 0b6949df08a8200fef4c0d93cd27c929933d53bf (patch) | |
tree | c30a28436fbcbcda1236bf54689bc45e757f77f8 | |
parent | 7868e44d3f4f89752baa315d62df2152daaa5b77 (diff) | |
parent | 3891a7c73fccfbd96f2cc36c3e079d88cc88465d (diff) |
Merge pull request #305 from mikkeloscar/fix-window-start
Don't reset x,y position before use.
-rw-r--r-- | sway/layout.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sway/layout.c b/sway/layout.c index 333c1928..5c57d0a7 100644 --- 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); |