Merge branch 'xcursor-getenv-fix'

This commit is contained in:
Daniel Eklöf 2022-01-29 13:06:13 +01:00
commit 7930652b30
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -1630,7 +1630,6 @@ wayl_reload_xcursor_theme(struct seat *seat, int new_scale)
seat->pointer.cursor = NULL;
}
const char *xcursor_theme = getenv("XCURSOR_THEME");
int xcursor_size = 24;
{
@ -1642,6 +1641,8 @@ wayl_reload_xcursor_theme(struct seat *seat, int new_scale)
}
}
const char *xcursor_theme = getenv("XCURSOR_THEME");
LOG_INFO("cursor theme: %s, size: %u, scale: %d",
xcursor_theme, xcursor_size, new_scale);