summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wayland/window.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/wayland/window.c b/wayland/window.c
index 9ebee2ba..9bc0d4a2 100644
--- 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) {