aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-11-09 08:36:27 -0500
committerDrew DeVault <sir@cmpwn.com>2017-11-09 08:36:27 -0500
commit66587eb4304af9ffc0eaaea8161e53f8a6fd962b (patch)
tree382876a5f8f6e730ced207037d3c55a45e8ca66d /backend
parent2f6cfe4057fbef41977159e24fea0d19fbeeb052 (diff)
parentb5ad7a5232b919319eef1a198d731b308c0bb9cc (diff)
Merge remote-tracking branch 'origin/master' into hidpi
Diffstat (limited to 'backend')
-rw-r--r--backend/wayland/wl_seat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/wayland/wl_seat.c b/backend/wayland/wl_seat.c
index deed215e..a2da8df5 100644
--- a/backend/wayland/wl_seat.c
+++ b/backend/wayland/wl_seat.c
@@ -90,7 +90,7 @@ static void pointer_handle_axis(void *data, struct wl_pointer *wl_pointer,
struct wlr_event_pointer_axis wlr_event;
wlr_event.device = dev;
- wlr_event.delta = value;
+ wlr_event.delta = wl_fixed_to_double(value);
wlr_event.orientation = axis;
wlr_event.time_msec = time;
wlr_event.source = wlr_wl_pointer->axis_source;