Introduce fractional scaling

This commit is contained in:
emersion 2017-12-15 01:00:03 +01:00
parent 23fb663ea4
commit 51db087210
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
10 changed files with 24 additions and 20 deletions

View file

@ -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;