Commit 5733f42c7c2cbfbbd03282919534ed30c3b07da6

Sam Lantinga 2023-07-31T14:38:48

Fall back to Xlib if XRandR isn't available This fixes video initialization on headless systems with VNC Fixes https://github.com/libsdl-org/SDL/issues/8054 (cherry picked from commit 71099149b8fc062ea0ece232ccdd9f0ee9b3588b) (cherry picked from commit 8825fbf71391631f1a7ee7ca224a2f4e01cd8814)