| Value | Meaning |
|---|---|
| SDL_WINDOW_FULLSCREEN0x0000000000000001 | Window is in fullscreen mode |
| SDL_WINDOW_OPENGL0x0000000000000002 | Window usable with OpenGL context |
| SDL_WINDOW_OCCLUDED0x0000000000000004 | Window is occluded |
| SDL_WINDOW_HIDDEN0x0000000000000008 | Window is neither mapped onto the desktop nor shown in the taskbar/dock/window list; SDL_ShowWindow() is required for it to become visible |
| SDL_WINDOW_BORDERLESS0x0000000000000010 | No window decoration |
| SDL_WINDOW_RESIZABLE0x0000000000000020 | Window can be resized |
| SDL_WINDOW_MINIMIZED0x0000000000000040 | Window is minimized |
| SDL_WINDOW_MAXIMIZED0x0000000000000080 | Window is maximized |
| SDL_WINDOW_MOUSE_GRABBED0x0000000000000100 | Window has grabbed mouse input |
| SDL_WINDOW_INPUT_FOCUS0x0000000000000200 | Window has input focus |
| SDL_WINDOW_MOUSE_FOCUS0x0000000000000400 | Window has mouse focus |
| SDL_WINDOW_EXTERNAL0x0000000000000800 | Window not created by SDL |
| SDL_WINDOW_MODAL0x0000000000001000 | Window is modal |
| SDL_WINDOW_HIGH_PIXEL_DENSITY0x0000000000002000 | Window uses high pixel density back buffer if possible |
| SDL_WINDOW_MOUSE_CAPTURE0x0000000000004000 | Window has mouse captured (unrelated to MOUSE_GRABBED) |
| SDL_WINDOW_MOUSE_RELATIVE_MODE0x0000000000008000 | Window has relative mode enabled |
| SDL_WINDOW_ALWAYS_ON_TOP0x0000000000010000 | Window should always be above others |
| SDL_WINDOW_UTILITY0x0000000000020000 | Window should be treated as a utility window, not showing in the task bar and window list |
| SDL_WINDOW_TOOLTIP0x0000000000040000 | Window should be treated as a tooltip and does not get mouse or keyboard focus, requires a parent window |
| SDL_WINDOW_POPUP_MENU0x0000000000080000 | Window should be treated as a popup menu, requires a parent window |
| SDL_WINDOW_KEYBOARD_GRABBED0x0000000000100000 | Window has grabbed keyboard input |
| SDL_WINDOW_VULKAN0x0000000010000000 | Window usable for Vulkan surface |
| SDL_WINDOW_METAL0x0000000020000000 | Window usable for Metal view |
| SDL_WINDOW_TRANSPARENT0x0000000040000000 | Window with transparent buffer |
| SDL_WINDOW_NOT_FOCUSABLE0x0000000080000000 | Window should not be focusable |
The flags on a window.
These cover a lot of true/false, or on/off, window state. Some of it is immutable after being set through SDL_CreateWindow(), some of it can be changed on existing windows by the app, and some of it might be altered by the user or system outside of the app's control.