aboutsummaryrefslogtreecommitdiffstats
path: root/swaybar/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'swaybar/input.c')
-rw-r--r--swaybar/input.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/swaybar/input.c b/swaybar/input.c
index 998b186f..e416f6e7 100644
--- a/swaybar/input.c
+++ b/swaybar/input.c
@@ -3,7 +3,6 @@
3#include <stdlib.h> 3#include <stdlib.h>
4#include <wayland-client.h> 4#include <wayland-client.h>
5#include <wayland-cursor.h> 5#include <wayland-cursor.h>
6#include <wlr/util/log.h>
7#include "list.h" 6#include "list.h"
8#include "log.h" 7#include "log.h"
9#include "swaybar/bar.h" 8#include "swaybar/bar.h"
@@ -55,7 +54,7 @@ static uint32_t wl_axis_to_button(uint32_t axis, wl_fixed_t value) {
55 case WL_POINTER_AXIS_HORIZONTAL_SCROLL: 54 case WL_POINTER_AXIS_HORIZONTAL_SCROLL:
56 return negative ? SWAY_SCROLL_LEFT : SWAY_SCROLL_RIGHT; 55 return negative ? SWAY_SCROLL_LEFT : SWAY_SCROLL_RIGHT;
57 default: 56 default:
58 wlr_log(WLR_DEBUG, "Unexpected axis value on mouse scroll"); 57 sway_log(SWAY_DEBUG, "Unexpected axis value on mouse scroll");
59 return 0; 58 return 0;
60 } 59 }
61} 60}