Fixed glfwShowWindow restoring maximized windows.

Fixes #264.
master
Camilla Berglund ago%!(EXTRA string=11 years)
parent dc5c264e26
commit b91116e2bc
  1. 1
      README.md
  2. 2
      src/win32_window.c

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

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

Loading…
Cancel
Save