SDL
2.0
|
#include "SDL_stdinc.h"
#include "SDL_error.h"
#include "SDL_video.h"
#include "SDL_version.h"
#include <X11/Xlib.h>
#include <X11/Xatom.h>
#include "begin_code.h"
#include "close_code.h"
Go to the source code of this file.
Data Structures | |
struct | SDL_SysWMmsg |
struct | SDL_SysWMinfo |
Enumerations | |
enum | SDL_SYSWM_TYPE { SDL_SYSWM_UNKNOWN , SDL_SYSWM_WINDOWS , SDL_SYSWM_X11 , SDL_SYSWM_DIRECTFB , SDL_SYSWM_COCOA , SDL_SYSWM_UIKIT , SDL_SYSWM_WAYLAND , SDL_SYSWM_MIR , SDL_SYSWM_WINRT , SDL_SYSWM_ANDROID , SDL_SYSWM_VIVANTE , SDL_SYSWM_OS2 , SDL_SYSWM_HAIKU , SDL_SYSWM_KMSDRM , SDL_SYSWM_RISCOS } |
Functions | |
SDL_bool | SDL_GetWindowWMInfo (SDL_Window *window, SDL_SysWMinfo *info) |
Include file for SDL custom system window manager hooks.
Definition in file SDL_syswm.h.
enum SDL_SYSWM_TYPE |
These are the various supported windowing subsystems
Definition at line 131 of file SDL_syswm.h.
SDL_bool SDL_GetWindowWMInfo | ( | SDL_Window * | window, |
SDL_SysWMinfo * | info | ||
) |
Get driver-specific information about a window.
You must include SDL_syswm.h for the declaration of SDL_SysWMinfo.
The caller must initialize the info
structure's version by using SDL_VERSION(&info.version)
, and then this function will fill in the rest of the structure with information about the given window.
window | the window about which information is being requested |
info | an SDL_SysWMinfo structure filled in with window information |
version
member of the info
struct is valid, or SDL_FALSE if the information could not be retrieved; call SDL_GetError() for more information.