From 51db087210b14201589701c49adca80e846a84b9 Mon Sep 17 00:00:00 2001 From: emersion Date: Fri, 15 Dec 2017 01:00:03 +0100 Subject: Introduce fractional scaling --- backend/wayland/wl_seat.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'backend') diff --git a/backend/wayland/wl_seat.c b/backend/wayland/wl_seat.c index 9fcc48dd..e3b71849 100644 --- a/backend/wayland/wl_seat.c +++ b/backend/wayland/wl_seat.c @@ -66,7 +66,8 @@ static void pointer_handle_motion(void *data, struct wl_pointer *wl_pointer, box.y /= wlr_output->scale; struct wlr_box layout_box; - wlr_wl_output_layout_get_box(wlr_wl_pointer->current_output->backend, &layout_box); + wlr_wl_output_layout_get_box(wlr_wl_pointer->current_output->backend, + &layout_box); struct wlr_event_pointer_motion_absolute wlr_event; wlr_event.device = dev; -- cgit v1.2.3