diff --git a/src/win32/win32_window.c b/src/win32/win32_window.c index cd61f8af..7ba50a03 100644 --- a/src/win32/win32_window.c +++ b/src/win32/win32_window.c @@ -663,7 +663,7 @@ static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg, { // Iconify the (on top, borderless, oddly positioned) // window or the user will be annoyed - ShowWindow(window->Win32.handle, SW_MINIMIZE); + _glfwPlatformIconifyWindow(window); } if (_glfwLibrary.Win32.monitor.modeChanged)