Переглянути джерело

wayland: Don't redundantly set the border state when showing a window

They are now set before the initial configure.
Frank Praznik 8 місяців тому
батько
коміт
b96bb152c2
1 змінених файлів з 0 додано та 1 видалено
  1. 0 1
      src/video/wayland/SDL_waylandwindow.c

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

@@ -2012,7 +2012,6 @@ void Wayland_ShowWindow(SDL_VideoDevice *_this, SDL_Window *window)
     }
 #endif
     Wayland_SetWindowResizable(_this, window, !!(window->flags & SDL_WINDOW_RESIZABLE));
-    Wayland_SetWindowBordered(_this, window, !(window->flags & SDL_WINDOW_BORDERLESS));
 
     // We're finally done putting the window together, raise if possible
     if (c->activation_manager) {