Replaced ShowWindow iconification with GLFW platform API call.

This commit is contained in:
Camilla Berglund 2010-09-20 01:57:50 +02:00
parent d43057e5bb
commit 871f3d172e

View File

@ -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)