mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-31 07:11:09 -04:00
wayland: pointer.scale: convert to float
This commit is contained in:
parent
c1f374cc8d
commit
6e2a47287a
2 changed files with 4 additions and 4 deletions
|
|
@ -1733,7 +1733,7 @@ wayl_win_destroy(struct wl_window *win)
|
|||
}
|
||||
|
||||
bool
|
||||
wayl_reload_xcursor_theme(struct seat *seat, int new_scale)
|
||||
wayl_reload_xcursor_theme(struct seat *seat, float new_scale)
|
||||
{
|
||||
if (seat->pointer.theme != NULL && seat->pointer.scale == new_scale) {
|
||||
/* We already have a theme loaded, and the scale hasn't changed */
|
||||
|
|
@ -1766,7 +1766,7 @@ wayl_reload_xcursor_theme(struct seat *seat, int new_scale)
|
|||
|
||||
const char *xcursor_theme = getenv("XCURSOR_THEME");
|
||||
|
||||
LOG_INFO("cursor theme: %s, size: %d, scale: %d",
|
||||
LOG_INFO("cursor theme: %s, size: %d, scale: %.2f",
|
||||
xcursor_theme ? xcursor_theme : "(null)",
|
||||
xcursor_size, new_scale);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue