mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-20 15:51:07 +01:00
hints: Note an additional method for retrieving display connector names
This commit is contained in:
@@ -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:
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user