소스 검색

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 <[email protected]>
Simon McVittie 1 년 전
부모
커밋
791646535a
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/video/wayland/SDL_waylandmouse.c

+ 1 - 0
src/video/wayland/SDL_waylandmouse.c

@@ -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: