wayland: pointer.scale: convert to float

This commit is contained in:
Daniel Eklöf 2023-06-22 14:23:53 +02:00
parent c1f374cc8d
commit 6e2a47287a
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 4 additions and 4 deletions

View file

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