Procházet zdrojové kódy

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>
Simon McVittie před 1 rokem
rodič
revize
791646535a
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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: */
+    /*   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: