Browse Source

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

They are now set before the initial configure.
Frank Praznik 6 months ago
parent
commit
b96bb152c2
1 changed files with 0 additions and 1 deletions
  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) {