Explorar el Código

hints: Note an additional method for retrieving display connector names

Frank Praznik hace 2 meses
padre
commit
edec0c2ffd
Se han modificado 1 ficheros con 5 adiciones y 3 borrados
  1. 5 3
      include/SDL3/SDL_hints.h

+ 5 - 3
include/SDL3/SDL_hints.h

@@ -3541,10 +3541,12 @@ extern "C" {
  * prioritized in the list of displays, as exposed by calling
  * SDL_GetDisplays(), with the first listed becoming the primary display. The
  * naming convention can vary depending on the environment, but it is usually
- * a connector name (e.g. 'DP-1', 'DP-2', 'HDMI-A-1',etc...).
+ * a connector name (e.g. 'DP-1', 'DP-2', 'HDMI-A-1', etc...).
  *
- * On Wayland and X11 desktops, the connector names associated with displays
- * can typically be found by using the `xrandr` utility.
+ * On Wayland desktops, the connector names associated with displays
+ * can be found in the `name` property of the info output from
+ * `wayland-info -i wl_output`. On X11 desktops, the `xrandr` utility can be
+ * used to retrieve the connector names associated with displays.
  *
  * This hint is currently supported on the following drivers:
  *