|
My Project
|
#include <SDL_syswm.h>
Public Attributes | |
| SDL_version | version |
| SDL_SYSWM_TYPE | subsystem |
| union { | |
| struct { | |
| Display * display | |
| Window window | |
| } x11 | |
| struct { | |
| struct wl_display * display | |
| struct wl_surface * surface | |
| struct wl_shell_surface * shell_surface | |
| } wl | |
| Uint8 dummy [64] | |
| } | info |
The custom window manager information structure.
When this structure is returned, it holds information about which low level system it is using, and will be one of SDL_SYSWM_TYPE.
| Display* SDL_SysWMinfo::display |
The X11 display
| struct wl_display* SDL_SysWMinfo::display |
Wayland display
| struct wl_shell_surface* SDL_SysWMinfo::shell_surface |
Wayland shell_surface (window manager handle)
| struct wl_surface* SDL_SysWMinfo::surface |
Wayland surface
| Window SDL_SysWMinfo::window |
The X11 window