From b96bb152c2dffd39f49cec431f23ac60cec395b4 Mon Sep 17 00:00:00 2001
From: Frank Praznik <[EMAIL REDACTED]>
Date: Thu, 16 Jan 2025 13:54:03 -0500
Subject: [PATCH] wayland: Don't redundantly set the border state when showing
a window
They are now set before the initial configure.
---
src/video/wayland/SDL_waylandwindow.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/video/wayland/SDL_waylandwindow.c b/src/video/wayland/SDL_waylandwindow.c
index c7294d28d76e8..ebf79a2609290 100644
--- a/src/video/wayland/SDL_waylandwindow.c
+++ b/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) {