From 6ab499a64e8f13e228b184dc00f803f2dc5b08b2 Mon Sep 17 00:00:00 2001 From: Teemu Korhonen <80648513+ts-korhonen@users.noreply.github.com> Date: Tue, 6 Apr 2021 21:38:34 +0300 Subject: [PATCH] Full screen resize fix (#1359) * Fixed WM_WINDOWPOSCHANGED not handling window resize when leving full screen mode. * Fix whitespaces. --- src/win/win_ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/win/win_ui.c b/src/win/win_ui.c index 106ce7f61..de0dba0d8 100644 --- a/src/win/win_ui.c +++ b/src/win/win_ui.c @@ -857,7 +857,7 @@ MainWindowProcedure(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) config_save(); } - if (!(pos->flags & SWP_NOSIZE)) { + if (!(pos->flags & SWP_NOSIZE) || !user_resize) { plat_vidapi_enable(0); MoveWindow(hwndSBAR, 0, rect.bottom - sbar_height, sbar_height, rect.right, TRUE);