diff options
author | Antonin Décimo <antonin.decimo@gmail.com> | 2020-06-04 15:43:42 +0200 |
---|---|---|
committer | Tudor Brindus <me@tbrindus.ca> | 2020-07-30 22:02:42 -0400 |
commit | bbf7b92fe4b34288dbe7c58827a1f69428ffb263 (patch) | |
tree | 2837fac64c52cb5f51cc49367a40099068374de1 /sway/input/seat.c | |
parent | a1c6052383d382d978ca597dc5fb280c0343db60 (diff) |
Fix incorrect format specifiers
Diffstat (limited to 'sway/input/seat.c')
-rw-r--r-- | sway/input/seat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c index bcf01962..e16d747c 100644 --- a/sway/input/seat.c +++ b/sway/input/seat.c @@ -916,7 +916,7 @@ void seat_configure_xcursor(struct sway_seat *seat) { if (seat == input_manager_get_default_seat()) { char cursor_size_fmt[16]; - snprintf(cursor_size_fmt, sizeof(cursor_size_fmt), "%d", cursor_size); + snprintf(cursor_size_fmt, sizeof(cursor_size_fmt), "%u", cursor_size); setenv("XCURSOR_SIZE", cursor_size_fmt, 1); if (cursor_theme != NULL) { setenv("XCURSOR_THEME", cursor_theme, 1); |