Merge commit 'e35c3872dc' into main

This commit is contained in:
Sam Lantinga 2023-01-12 16:21:45 -08:00
commit 72408ebc2a

View file

@ -1699,6 +1699,10 @@ void Wayland_RestoreWindow(_THIS, SDL_Window *window)
return;
}
if (!(window->flags & SDL_WINDOW_RESIZABLE)) {
return;
}
/* Set this flag now even if we never actually maximized, eventually
* ShowWindow will take care of it along with the other window state.
*/