x11: Support sorting displays via the priority hint

Store the connector name for displays and use it for sorting them according to priority, if the hint is set.
This commit is contained in:
Frank Praznik 2024-10-18 11:26:41 -04:00
parent 0faf9dc4a4
commit a7da3ad59b
3 changed files with 51 additions and 0 deletions

View file

@ -3158,6 +3158,7 @@ extern "C" {
*
* - KMSDRM (kmsdrm)
* - Wayland (wayland)
* - X11 (x11)
*
* This hint should be set before SDL is initialized.
*