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 committed 2024-10-18 13:09:08 -04:00
1 parent 0faf9dc4a4
commit a7da3ad59b
3 files changed
+51

No files matched your search

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