diff options
author | emersion <contact@emersion.fr> | 2017-12-15 01:00:03 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2017-12-15 01:00:03 +0100 |
commit | 51db087210b14201589701c49adca80e846a84b9 (patch) | |
tree | 6ad2e387a4f6cda32c40c40f68c3929318245006 /backend | |
parent | 23fb663ea4eaff436d9bfab7f74cdd298fac44c5 (diff) |
Introduce fractional scaling
Diffstat (limited to 'backend')
-rw-r--r-- | backend/wayland/wl_seat.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |