diff options
author | Ivan <etircopyhdot@gmail.com> | 2021-08-28 02:11:50 +0300 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2021-08-28 01:12:38 +0000 |
commit | dffb94f94d4b0e3b96e616459ee96b0c11e95353 (patch) | |
tree | 96f98a4c6bb510907c5c54f4f3e2cd3b12a47ee2 | |
parent | d092170bf8250166fe23f4c9f5049f204fb10851 (diff) | |
download | mpv-dffb94f94d4b0e3b96e616459ee96b0c11e95353.tar.bz2 mpv-dffb94f94d4b0e3b96e616459ee96b0c11e95353.tar.xz |
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.
-rw-r--r-- | video/out/wayland_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |