Skip to content

Commit

Permalink
wayland: Don't redundantly set the border state when showing a window
Browse files Browse the repository at this point in the history
They are now set before the initial configure.
  • Loading branch information
Kontrabant committed Jan 16, 2025
1 parent 5a564a7 commit b96bb15
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/video/wayland/SDL_waylandwindow.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b96bb15

Please sign in to comment.