Win32: Fix GLFW_FOCUSED hint being ignored

The window was activated by _glfwPlatformShowWindow, causing the
GLFW_FOCUSED window hint to be ignored when set to false.

Fixes #1179.
Closes #1180.
This commit is contained in:
ocornut
2018-01-09 11:11:58 +01:00
committed by Camilla Löwy
parent ee9dffcd66
commit 20b12204af
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -1459,7 +1459,7 @@ void _glfwPlatformMaximizeWindow(_GLFWwindow* window)
void _glfwPlatformShowWindow(_GLFWwindow* window)
{
ShowWindow(window->win32.handle, SW_SHOW);
ShowWindow(window->win32.handle, SW_SHOWNA);
}
void _glfwPlatformHideWindow(_GLFWwindow* window)