src/video/mir/SDL_mirwindow.c
changeset 8154 ea6b25de67b6
parent 8153 3e43c73ac79b
child 8155 cf0eda3f5e35
equal deleted inserted replaced
8153:3e43c73ac79b 8154:ea6b25de67b6
    21 
    21 
    22 /*
    22 /*
    23   Contributed by Brandon Schaefer, <brandon.schaefer@canonical.com>
    23   Contributed by Brandon Schaefer, <brandon.schaefer@canonical.com>
    24 */
    24 */
    25 
    25 
    26 #include "SDL_config.h"
    26 #include "../../SDL_internal.h"
       
    27 
       
    28 #if SDL_VIDEO_DRIVER_MIR
    27 
    29 
    28 #include "../SDL_egl_c.h"
    30 #include "../SDL_egl_c.h"
    29 #include "../SDL_sysvideo.h"
    31 #include "../SDL_sysvideo.h"
    30 
    32 
    31 #include "SDL_mirevents.h"
    33 #include "SDL_mirevents.h"
   212     if (IsSurfaceValid(mir_window) < 0)
   214     if (IsSurfaceValid(mir_window) < 0)
   213         return;
   215         return;
   214 
   216 
   215     mir_surface_set_type(mir_window->surface, mir_surface_state_restored);
   217     mir_surface_set_type(mir_window->surface, mir_surface_state_restored);
   216 }
   218 }
       
   219 
       
   220 #endif /* SDL_VIDEO_DRIVER_MIR */
       
   221 
       
   222 /* vi: set ts=4 sw=4 expandtab: */