mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-23 02:38:52 -05:00
parent
f79a52fe9b
commit
838c4e938c
|
@ -102,6 +102,7 @@ information on what to include when reporting a bug.
|
||||||
- Added `glfwGetKeyScancode` function that allows retrieving platform depen-
|
- Added `glfwGetKeyScancode` function that allows retrieving platform depen-
|
||||||
dent scancodes for keys (#830)
|
dent scancodes for keys (#830)
|
||||||
- Bugfix: Calling `glfwMaximizeWindow` on a full screen window was not ignored
|
- Bugfix: Calling `glfwMaximizeWindow` on a full screen window was not ignored
|
||||||
|
- [Win32] Bugfix: Undecorated windows could not be iconified by the user (#861)
|
||||||
|
|
||||||
|
|
||||||
## Contact
|
## Contact
|
||||||
|
|
|
@ -46,9 +46,11 @@ static DWORD getWindowStyle(const _GLFWwindow* window)
|
||||||
style |= WS_POPUP;
|
style |= WS_POPUP;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
style |= WS_SYSMENU | WS_MINIMIZEBOX;
|
||||||
|
|
||||||
if (window->decorated)
|
if (window->decorated)
|
||||||
{
|
{
|
||||||
style |= WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX;
|
style |= WS_CAPTION;
|
||||||
|
|
||||||
if (window->resizable)
|
if (window->resizable)
|
||||||
style |= WS_MAXIMIZEBOX | WS_THICKFRAME;
|
style |= WS_MAXIMIZEBOX | WS_THICKFRAME;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user