diff --git a/README.md b/README.md index 9d1c9ffc..798509ae 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,7 @@ The following dependencies are needed by the examples and test programs: the error callback - [Win32] Bugfix: Some keys were reported based on the current layout instead of their physical location + - [Win32] Bugfix: Maximized hidden windows were restored by `glfwShowWindow` - [X11] Added run-time support for systems lacking the XKB extension - [X11] Made GLX 1.3 the minimum supported version - [X11] Bugfix: The case of finding no usable CRTCs was not detected diff --git a/src/win32_window.c b/src/win32_window.c index 4fd31ea4..52423fe0 100644 --- a/src/win32_window.c +++ b/src/win32_window.c @@ -1154,7 +1154,7 @@ void _glfwPlatformRestoreWindow(_GLFWwindow* window) void _glfwPlatformShowWindow(_GLFWwindow* window) { - ShowWindow(window->win32.handle, SW_SHOWNORMAL); + ShowWindow(window->win32.handle, SW_SHOW); BringWindowToTop(window->win32.handle); SetForegroundWindow(window->win32.handle); SetFocus(window->win32.handle);