diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2023-06-22 12:23:53 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2023-06-29 13:38:22 +0000 |
| commit | 6e2a47287aa5160134a8bb75f562af5c85f3aaf2 (patch) | |
| tree | adf493af7296ec97b1cac5d79dec35240af2cd9a /wayland.h | |
| parent | term: convert ‘scale’ to a float (diff) | |
wayland: pointer.scale: convert to float
Diffstat (limited to 'wayland.h')
| -rw-r--r-- | wayland.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |
