sway

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

commit 06f46955c0be2990fe09620ec51bfb661fb0f8cc
parent 2530f952c9cec4150f5ee44bdd764123ae09bd30
Author: Hummer12007 <hilobakho@gmail.com>
Date:   Mon, 18 Jul 2016 00:57:49 +0300

Fix a warning
Diffstat:
Mswaybar/bar.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/swaybar/bar.c b/swaybar/bar.c @@ -99,7 +99,7 @@ static void mouse_scroll_notify(struct window *window, enum scroll_direction dir if (!swaybar.config->wrap_scroll) { // Find output this window lives on int i; - struct output *output; + struct output *output = NULL; for (i = 0; i < swaybar.outputs->length; ++i) { output = swaybar.outputs->items[i]; if (output->window == window) {