include/SDL_syswm.h
changeset 8155 cf0eda3f5e35
parent 8153 3e43c73ac79b
child 8583 fb2933ca805f
     1.1 --- a/include/SDL_syswm.h	Sun Feb 02 23:54:10 2014 -0500
     1.2 +++ b/include/SDL_syswm.h	Sun Feb 02 23:53:48 2014 -0500
     1.3 @@ -93,6 +93,11 @@
     1.4  #endif
     1.5  #endif
     1.6  
     1.7 +#if defined(SDL_VIDEO_DRIVER_MIR)
     1.8 +#include <mir_toolkit/mir_client_library.h>
     1.9 +#endif
    1.10 +
    1.11 +
    1.12  /**
    1.13   *  These are the various supported windowing subsystems
    1.14   */
    1.15 @@ -205,6 +210,14 @@
    1.16              struct wl_shell_surface *shell_surface; /**< Wayland shell_surface (window manager handle) */
    1.17          } wl;
    1.18  #endif
    1.19 +#if defined(SDL_VIDEO_DRIVER_MIR)
    1.20 +        struct
    1.21 +        {
    1.22 +            MirConnection *connection;  /**< Mir display server connection */
    1.23 +            MirSurface *surface;  /**< Mir surface */
    1.24 +        } mir;
    1.25 +#endif
    1.26 +
    1.27          /* Can't have an empty union */
    1.28          int dummy;
    1.29      } info;