diff --git a/src/win32_window.c b/src/win32_window.c index 7090c981..e7fe3a0a 100644 --- a/src/win32_window.c +++ b/src/win32_window.c @@ -1228,6 +1228,7 @@ static int createNativeWindow(_GLFWwindow* window, xpos = CW_USEDEFAULT; ypos = CW_USEDEFAULT; + window->win32.maximized = wndconfig->maximized; if (wndconfig->maximized) style |= WS_MAXIMIZE;