From dffb94f94d4b0e3b96e616459ee96b0c11e95353 Mon Sep 17 00:00:00 2001 From: Ivan Date: Sat, 28 Aug 2021 02:11:50 +0300 Subject: 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. --- video/out/wayland_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c index 479c06cd8e..b6df672a5a 100644 --- a/video/out/wayland_common.c +++ b/video/out/wayland_common.c @@ -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; -- cgit v1.2.3