File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -3630,6 +3630,26 @@ extern "C" {
36303630 *
36313631 * \since This hint is available since SDL 3.4.0.
36323632 */
3633+ #define SDL_HINT_VIDEO_METAL_AUTO_RESIZE_DRAWABLE "SDL_VIDEO_METAL_AUTO_RESIZE_DRAWABLE"
3634+
3635+ /**
3636+ * A variable controlling whether SDL will attempt to automatically set the
3637+ * destination display to a mode most closely matching that of the previous
3638+ * display if an exclusive fullscreen window is moved onto it.
3639+ *
3640+ * The variable can be set to the following values:
3641+ *
3642+ * - "0": SDL will not attempt to automatically set a matching mode on the
3643+ * destination display. If an exclusive fullscreen window is moved to a new
3644+ * display, the window will become fullscreen desktop.
3645+ * - "1": SDL will attempt to automatically set a mode on the destination
3646+ * display that most closely matches the mode of the display that the
3647+ * exclusive fullscreen window was previously on. (default)
3648+ *
3649+ * This hint can be set anytime.
3650+ *
3651+ * \since This hint is available since SDL 3.4.0.
3652+ */
36333653#define SDL_HINT_VIDEO_MATCH_EXCLUSIVE_MODE_ON_MOVE "SDL_VIDEO_MATCH_EXCLUSIVE_MODE_ON_MOVE"
36343654
36353655/**
You can’t perform that action at this time.
0 commit comments