From 7be970db312d2a095696d7bc57143f3fb47fdca3 Mon Sep 17 00:00:00 2001
From: Ethan Lee <[EMAIL REDACTED]>
Date: Fri, 6 Aug 2021 19:51:27 -0400
Subject: [PATCH] wayland: Avoid setting floating width/height when re-entering
fullscreen
---
src/video/wayland/SDL_waylandwindow.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/video/wayland/SDL_waylandwindow.c b/src/video/wayland/SDL_waylandwindow.c
index 0003abe08..025dd30ee 100644
--- a/src/video/wayland/SDL_waylandwindow.c
+++ b/src/video/wayland/SDL_waylandwindow.c
@@ -347,6 +347,7 @@ decoration_frame_configure(struct libdecor_frame *frame,
/* We might need to re-enter fullscreen after being restored from minimized */
SetFullscreen(window, driverdata->output);
fullscreen = SDL_TRUE;
+ floating = SDL_FALSE;
}
/* Always send a maximized/restore event; if the event is redundant it will