Replaced ShowWindow iconification with GLFW platform API call.

master
Camilla Berglund ago%!(EXTRA string=15 years)
parent d43057e5bb
commit 871f3d172e
  1. 2
      src/win32/win32_window.c

@ -663,7 +663,7 @@ static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg,
{ {
// Iconify the (on top, borderless, oddly positioned) // Iconify the (on top, borderless, oddly positioned)
// window or the user will be annoyed // window or the user will be annoyed
ShowWindow(window->Win32.handle, SW_MINIMIZE); _glfwPlatformIconifyWindow(window);
} }
if (_glfwLibrary.Win32.monitor.modeChanged) if (_glfwLibrary.Win32.monitor.modeChanged)

Loading…
Cancel
Save