Forráskód Böngészése

wayland: Restore accidentally removed line of code

Frank Praznik 1 éve
szülő
commit
3a219caf3d
1 módosított fájl, 2 hozzáadás és 0 törlés
  1. 2 0
      src/video/wayland/SDL_waylandwindow.c

+ 2 - 0
src/video/wayland/SDL_waylandwindow.c

@@ -1444,6 +1444,8 @@ void Wayland_ShowWindow(SDL_VideoDevice *_this, SDL_Window *window)
         WAYLAND_wl_display_roundtrip(c->display);
     }
 
+    data->surface_status = WAYLAND_SURFACE_STATUS_WAITING_FOR_CONFIGURE;
+
     /* Detach any previous buffers before resetting everything, otherwise when
      * calling this a second time you'll get an annoying protocol error!
      *