Commit 9b74623be9a4dc97bac905c69bea042df6e0b1ac

Ethan Lee 2021-09-22T13:52:36

wayland: Woops, forgot to assign cursor theme size...

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/video/wayland/SDL_waylandmouse.c b/src/video/wayland/SDL_waylandmouse.c
index 23663eb..ead346e 100644
--- a/src/video/wayland/SDL_waylandmouse.c
+++ b/src/video/wayland/SDL_waylandmouse.c
@@ -95,6 +95,7 @@ wayland_get_system_cursor(SDL_VideoData *vdata, Wayland_CursorData *cdata, float
             return SDL_FALSE;
         }
         theme = WAYLAND_wl_cursor_theme_load(NULL, size, vdata->shm);
+        vdata->cursor_themes[vdata->num_cursor_themes].size = size;
         vdata->cursor_themes[vdata->num_cursor_themes++].theme = theme;
     }