src/video/wayland/SDL_waylandwindow.c
changeset 12201 8bdc4d340419
parent 12033 bc702c5a7c3a
child 12298 c4d5e502c1f4
equal deleted inserted replaced
12200:c0b17b32b95e 12201:8bdc4d340419
   132 };
   132 };
   133 
   133 
   134 
   134 
   135 static void
   135 static void
   136 handle_configure_zxdg_toplevel(void *data,
   136 handle_configure_zxdg_toplevel(void *data,
   137 			  struct zxdg_toplevel_v6 *zxdg_toplevel_v6,
   137               struct zxdg_toplevel_v6 *zxdg_toplevel_v6,
   138 			  int32_t width,
   138               int32_t width,
   139 			  int32_t height,
   139               int32_t height,
   140 			  struct wl_array *states)
   140               struct wl_array *states)
   141 {
   141 {
   142     SDL_WindowData *wind = (SDL_WindowData *)data;
   142     SDL_WindowData *wind = (SDL_WindowData *)data;
   143     SDL_Window *window = wind->sdlwindow;
   143     SDL_Window *window = wind->sdlwindow;
   144 
   144 
   145     /* wl_shell_surface spec states that this is a suggestion.
   145     /* wl_shell_surface spec states that this is a suggestion.
   211 };
   211 };
   212 
   212 
   213 
   213 
   214 static void
   214 static void
   215 handle_configure_xdg_toplevel(void *data,
   215 handle_configure_xdg_toplevel(void *data,
   216 			  struct xdg_toplevel *xdg_toplevel,
   216               struct xdg_toplevel *xdg_toplevel,
   217 			  int32_t width,
   217               int32_t width,
   218 			  int32_t height,
   218               int32_t height,
   219 			  struct wl_array *states)
   219               struct wl_array *states)
   220 {
   220 {
   221     SDL_WindowData *wind = (SDL_WindowData *)data;
   221     SDL_WindowData *wind = (SDL_WindowData *)data;
   222     SDL_Window *window = wind->sdlwindow;
   222     SDL_Window *window = wind->sdlwindow;
   223 
   223 
   224     /* wl_shell_surface spec states that this is a suggestion.
   224     /* wl_shell_surface spec states that this is a suggestion.