mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 04:54:35 +00:00
Replaced ShowWindow iconification with GLFW platform API call.
This commit is contained in:
parent
d43057e5bb
commit
871f3d172e
@ -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…
Reference in New Issue
Block a user