wayland: set default cursor size to 24

Set it to 24 if it couldn't be read frome $XCURSOR_SIZE for some reason.
Since it seems to be the default value for most distros/DE.
This commit is contained in:
Ivan 2021-08-28 02:11:50 +03:00 committed by Dudemanguy
parent d092170bf8
commit dffb94f94d
1 changed files with 1 additions and 1 deletions

View File

@ -1429,7 +1429,7 @@ static int spawn_cursor(struct vo_wayland_state *wl)
const char *xcursor_theme = getenv("XCURSOR_THEME");
const char *size_str = getenv("XCURSOR_SIZE");
int size = 32;
int size = 24;
if (size_str != NULL) {
errno = 0;
char *end;