mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-21 13:36:15 +00:00
X11TK: Add hint for prefering the toolkit over Zenity
This commit is contained in:
parent
221d1f12ea
commit
a83a12523d
1 changed files with 14 additions and 0 deletions
|
|
@ -3921,6 +3921,20 @@ extern "C" {
|
|||
*/
|
||||
#define SDL_HINT_VIDEO_X11_XRANDR "SDL_VIDEO_X11_XRANDR"
|
||||
|
||||
/**
|
||||
* A variable controlling whether the X11 built in toolkit is prefered over Zenity.
|
||||
*
|
||||
* The variable can be set to the following values:
|
||||
*
|
||||
* - "0": Use Zenity if available. (default)
|
||||
* - "1": Always use the toolkit over Zenity.
|
||||
*
|
||||
* This hint should be set before a messagebox is created.
|
||||
*
|
||||
* \since This hint is available since SDL 3.4.0.
|
||||
*/
|
||||
#define SDL_HINT_VIDEO_X11_PREFER_TOOLKIT "SDL_VIDEO_X11_PREFER_TOOLKIT"
|
||||
|
||||
/**
|
||||
* A variable controlling whether touch should be enabled on the back panel of
|
||||
* the PlayStation Vita.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue