diff options
author | emersion <contact@emersion.fr> | 2018-05-09 19:58:18 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-05-09 19:58:18 +0100 |
commit | 13098a18eaa8e6edd56f7f8c508b030f91dae67e (patch) | |
tree | af0181660de5e76f8620ee0e786c12e50901c1ca /include | |
parent | 8e831cd416e2eb0c47bbd097422822a0c8888459 (diff) |
Fix hardware cursors scale & transform
Diffstat (limited to 'include')
-rw-r--r-- | include/backend/wayland.h | 1 | ||||
-rw-r--r-- | include/wlr/interfaces/wlr_output.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/backend/wayland.h b/include/backend/wayland.h index fec328ba..fda27da9 100644 --- a/include/backend/wayland.h +++ b/include/backend/wayland.h @@ -55,6 +55,7 @@ struct wlr_wl_output { struct wl_surface *surface; struct wl_egl_window *egl_window; int32_t hotspot_x, hotspot_y; + int32_t width, height; } cursor; }; diff --git a/include/wlr/interfaces/wlr_output.h b/include/wlr/interfaces/wlr_output.h index d8c54067..7ecc7551 100644 --- a/include/wlr/interfaces/wlr_output.h +++ b/include/wlr/interfaces/wlr_output.h @@ -14,6 +14,7 @@ struct wlr_output_impl { void (*transform)(struct wlr_output *output, enum wl_output_transform transform); bool (*set_cursor)(struct wlr_output *output, struct wlr_texture *texture, + int32_t scale, enum wl_output_transform transform, int32_t hotspot_x, int32_t hotspot_y, bool update_texture); bool (*move_cursor)(struct wlr_output *output, int x, int y); void (*destroy)(struct wlr_output *output); |