mirror of https://github.com/encounter/SDL.git
wayland: Woops, forgot to assign cursor theme size...
This commit is contained in:
parent
8e54698aa6
commit
9b74623be9
|
@ -95,6 +95,7 @@ wayland_get_system_cursor(SDL_VideoData *vdata, Wayland_CursorData *cdata, float
|
||||||
return SDL_FALSE;
|
return SDL_FALSE;
|
||||||
}
|
}
|
||||||
theme = WAYLAND_wl_cursor_theme_load(NULL, size, vdata->shm);
|
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;
|
vdata->cursor_themes[vdata->num_cursor_themes++].theme = theme;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue