-
203aff23
by Zhiyi Zhang at 2025-04-07T21:58:11+02:00
user32/tests: Properly test ShowWindow(SW_MAXIMIZE) regarding WS_CAPTION.
Previously, although none of the style in the test_style array in test_ShowWindow() has WS_CAPTION,
WS_CAPTION is added implicitly by CreateWindow() when WS_POPUP and WS_CHILD are both not present,
thus the behavior for ShowWindow(SW_MAXIMIZE) when WS_CAPTION is not set was not tested properly.
-
3f584ee3
by Zhiyi Zhang at 2025-04-07T21:58:11+02:00
win32u: Fix incorrect work area for maximized windows.
Partially fix Imperiums: Greek Wars (1183470) not covering the entire screen in fullscreen mode.
-
a86c25dc
by Zhiyi Zhang at 2025-04-07T21:58:11+02:00
user32/tests: Add more window placement maximized position tests.
-
cf817bcc
by Zhiyi Zhang at 2025-04-07T21:58:11+02:00
win32u: Check against the monitor work area in update_maximized_pos().
Fix Imperiums: Greek Wars (1183470) not covering the entire screen in fullscreen mode.
-
37df861a
by Zhiyi Zhang at 2025-04-07T21:58:11+02:00
win32u: Use a more fitting name for a helper function.
Rename get_work_rect(), which gets the area the maximized window can cover depending on style,
to get_maximized_rect(). So it's less likely to be confused with the monitor work area.
-
bfab920e
by Zhiyi Zhang at 2025-04-07T21:58:11+02:00
win32u: Properly scale monitor work area when emulate_modeset is enabled.