From 6e2a47287aa5160134a8bb75f562af5c85f3aaf2 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Thu, 22 Jun 2023 14:23:53 +0200 Subject: wayland: pointer.scale: convert to float --- wayland.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wayland.h') diff --git a/wayland.h b/wayland.h index 20edcb68..a5316837 100644 --- a/wayland.h +++ b/wayland.h @@ -135,7 +135,7 @@ struct seat { struct wl_surface *surface; struct wl_cursor_theme *theme; struct wl_cursor *cursor; - int scale; + float scale; bool hidden; const char *xcursor; @@ -442,7 +442,7 @@ struct wayland *wayl_init( bool presentation_timings); void wayl_destroy(struct wayland *wayl); -bool wayl_reload_xcursor_theme(struct seat *seat, int new_scale); +bool wayl_reload_xcursor_theme(struct seat *seat, float new_scale); void wayl_flush(struct wayland *wayl); void wayl_roundtrip(struct wayland *wayl); -- cgit v1.3