src/video/mir/SDL_mirwindow.c
changeset 8155 cf0eda3f5e35
parent 8154 ea6b25de67b6
child 8157 f5d262613ed2
     1.1 --- a/src/video/mir/SDL_mirwindow.c	Sun Feb 02 23:54:10 2014 -0500
     1.2 +++ b/src/video/mir/SDL_mirwindow.c	Sun Feb 02 23:53:48 2014 -0500
     1.3 @@ -158,8 +158,12 @@
     1.4  {
     1.5      if (info->version.major == SDL_MAJOR_VERSION &&
     1.6          info->version.minor == SDL_MINOR_VERSION) {
     1.7 +        MIR_Window* mir_window = window->driverdata;
     1.8  
     1.9          info->subsystem = SDL_SYSWM_MIR;
    1.10 +        info->info.mir.connection = mir_window->mir_data->connection;
    1.11 +        info->info.mir.surface = mir_window->surface;
    1.12 +
    1.13          return SDL_TRUE;
    1.14      }
    1.15