sway

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

commit 7aeedf0264e1745f2993a430a9cfef46a31e75ca
parent 147a88260a74f536e1a1e513f0f8087d02982b00
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sat, 16 Jul 2016 09:13:38 -0400

Fix warning in window.c

Diffstat:
Mwayland/window.c | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/wayland/window.c b/wayland/window.c @@ -59,9 +59,8 @@ static void pointer_handle_axis(void *data, struct wl_pointer *pointer, direction = wl_fixed_to_double(value) < 0 ? SCROLL_LEFT : SCROLL_RIGHT; break; default: - if (!sway_assert(false, "Unexpected axis value")) { - return; - } + sway_log(L_DEBUG, "Unexpected axis value on mouse scroll"); + return; } if (window->pointer_input.notify_scroll) {