Win32: Fix rect of undecorated maximized windows

A window created maximized and undecorated would cover the whole monitor
Windows placed it on instead of just that monitor's workarea.

This commit adjusts the maximized rect to cover just the workarea,
similar to how undecorated windows that become maximized are handled
during WM_GETMINMAXINFO.

Fixes #1806
This commit is contained in:
Camilla Löwy
2022-03-07 18:14:16 +01:00
committed by Camilla Löwy
parent adc202d2c3
commit a730acf8e5
2 changed files with 26 additions and 5 deletions

View File

@@ -207,6 +207,8 @@ information on what to include when reporting a bug.
disconnected (#1615)
- [Win32] Bugfix: Key name update modified global key state on Windows 10 1607
and later (#2018)
- [Win32] Bugfix: A window created maximized and undecorated would cover the whole
monitor (#1806)
- [Cocoa] Added support for `VK_EXT_metal_surface` (#1619)
- [Cocoa] Added locating the Vulkan loader at runtime in an application bundle
- [Cocoa] Moved main menu creation to GLFW initialization time (#1649)