x11: add a hint to force the VisualID used when creating a window.

This commit is contained in:
Sam Lantinga 2019-09-04 09:27:58 -07:00
parent f49c07b5c4
commit e5580e18ba
3 changed files with 27 additions and 1 deletions

View file

@ -197,6 +197,12 @@ extern "C" {
*/
#define SDL_HINT_VIDEO_X11_XRANDR "SDL_VIDEO_X11_XRANDR"
/**
* \brief A variable forcing the visual ID chosen for new X11 windows
*
*/
#define SDL_HINT_VIDEO_X11_WINDOW_VISUALID "SDL_VIDEO_X11_WINDOW_VISUALID"
/**
* \brief A variable controlling whether the X11 _NET_WM_PING protocol should be supported.
*