mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-02-08 04:47:12 +00:00
wayland: Reference CSS cursor name vocabulary
The freedesktop.org cursor spec recommends the same names as CSS, and GNOME is treating the CSS vocabulary as canonical. Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
committed by
Ryan C. Gordon
parent
cb9565354c
commit
791646535a
@@ -317,6 +317,7 @@ static SDL_bool wayland_get_system_cursor(SDL_VideoData *vdata, Wayland_CursorDa
|
||||
}
|
||||
|
||||
/* Next, find the cursor from the theme. Names taken from: */
|
||||
/* https://www.w3.org/TR/css-ui-4/#cursor */
|
||||
/* https://www.freedesktop.org/wiki/Specifications/cursor-spec/ */
|
||||
switch (cdata->system_cursor) {
|
||||
case SDL_SYSTEM_CURSOR_ARROW:
|
||||
|
||||
Reference in New Issue
Block a user