mirror of
https://github.com/glfw/glfw.git
synced 2026-09-21 08:39:45 +00:00
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:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user