diff options
author | Drew DeVault <sir@cmpwn.com> | 2016-07-16 09:13:38 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2016-07-16 09:13:38 -0400 |
commit | 7aeedf0264e1745f2993a430a9cfef46a31e75ca (patch) | |
tree | 6804b9da9e040d0b155216153867aa7d8e4b1c3a /wayland | |
parent | Fix #753 (diff) | |
download | sway-7aeedf0264e1745f2993a430a9cfef46a31e75ca.tar.gz sway-7aeedf0264e1745f2993a430a9cfef46a31e75ca.tar.zst sway-7aeedf0264e1745f2993a430a9cfef46a31e75ca.zip |
Fix warning in window.c
Diffstat (limited to 'wayland')
-rw-r--r-- | wayland/window.c | 5 |
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, | |||
59 | direction = wl_fixed_to_double(value) < 0 ? SCROLL_LEFT : SCROLL_RIGHT; | 59 | direction = wl_fixed_to_double(value) < 0 ? SCROLL_LEFT : SCROLL_RIGHT; |
60 | break; | 60 | break; |
61 | default: | 61 | default: |
62 | if (!sway_assert(false, "Unexpected axis value")) { | 62 | sway_log(L_DEBUG, "Unexpected axis value on mouse scroll"); |
63 | return; | 63 | return; |
64 | } | ||
65 | } | 64 | } |
66 | 65 | ||
67 | if (window->pointer_input.notify_scroll) { | 66 | if (window->pointer_input.notify_scroll) { |