sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 3891a7c73fccfbd96f2cc36c3e079d88cc88465d
parent e2cb5e5420d93516d0ca2cf815410215cd0a2f37
Author: Mikkel Oscar Lyderik <mikkeloscar@gmail.com>
Date:   Sun, 13 Dec 2015 22:49:58 +0100

Don't reset x,y position before use.

The x and y position is calculated based on the position of the bar, we
don't want to reset these values when we need them.

Diffstat:
Msway/layout.c | 1-
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);