sway

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

commit 0dd1dc05c31f1aada44dc6113b20a616d26f1659
parent eec09cae0e8d0140f9080a6e08c849422986b9fc
Author: Drew DeVault <sir@cmpwn.com>
Date:   Fri, 29 Apr 2016 10:37:12 -0400

Merge pull request #613 from mikkeloscar/init-y

Fix uninitialized variable
Diffstat:
Msway/layout.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sway/layout.c b/sway/layout.c @@ -626,7 +626,7 @@ void update_geometry(swayc_t *container) { geometry.size.h -= (border_bottom + title_bar.size.h); container->title_bar_geometry = title_bar; } else if (parent->layout == L_STACKED) { - int i, y; + int i, y = 0; for (i = 0; i < parent->children->length; ++i) { swayc_t *view = parent->children->items[i]; if (view == container) {