include/SDL_syswm.h
changeset 8062 4fc5f66d63cc
parent 7455 0a988affc7e7
child 8134 7c9192be51a7
     1.1 --- a/include/SDL_syswm.h	Fri Dec 13 09:48:12 2013 -0300
     1.2 +++ b/include/SDL_syswm.h	Sat Dec 14 20:18:43 2013 -0300
     1.3 @@ -101,6 +101,7 @@
     1.4      SDL_SYSWM_UNKNOWN,
     1.5      SDL_SYSWM_WINDOWS,
     1.6      SDL_SYSWM_X11,
     1.7 +    SDL_SYSWM_WAYLAND,
     1.8      SDL_SYSWM_DIRECTFB,
     1.9      SDL_SYSWM_COCOA,
    1.10      SDL_SYSWM_UIKIT,
    1.11 @@ -175,6 +176,14 @@
    1.12              Window window;              /**< The X11 window */
    1.13          } x11;
    1.14  #endif
    1.15 +#if defined(SDL_VIDEO_DRIVER_WAYLAND)
    1.16 +        struct
    1.17 +        {
    1.18 +            struct wl_display *display;            /**< Wayland display */
    1.19 +            struct wl_surface *surface;            /**< Wayland surface */
    1.20 +            struct wl_shell_surface *shell_surface; /**< Wayland shell_surface (window manager handle) */
    1.21 +        } wl;
    1.22 +#endif
    1.23  #if defined(SDL_VIDEO_DRIVER_DIRECTFB)
    1.24          struct
    1.25          {