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: */
|
/* 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/ */
|
/* https://www.freedesktop.org/wiki/Specifications/cursor-spec/ */
|
||||||
switch (cdata->system_cursor) {
|
switch (cdata->system_cursor) {
|
||||||
case SDL_SYSTEM_CURSOR_ARROW:
|
case SDL_SYSTEM_CURSOR_ARROW:
|
||||||
|
|||||||
Reference in New Issue
Block a user