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

This commit is contained in:
Ethan Lee 2021-09-22 13:52:36 -04:00
parent 8e54698aa6
commit 9b74623be9
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}