[PATCH 0/1] MR7498: win32u: Use the normal window rectangle to find monitor when a window is minimized.
5 Mar
5 Mar
8:33 a.m.
New subject: [PATCH 1/1] win32u: Use the normal window rectangle to find monitor when a window is minimized.
From: Zhiyi Zhang <zzhang(a)codeweavers.com> --- dlls/win32u/sysparams.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/win32u/sysparams.c b/dlls/win32u/sysparams.c index 51ff4aceccc..aafb5da0b86 100644 --- a/dlls/win32u/sysparams.c +++ b/dlls/win32u/sysparams.c @@ -2668,7 +2668,7 @@ UINT get_win_monitor_dpi( HWND hwnd, UINT *raw_dpi ) } else { - rect = win->rects.window; + rect = is_iconic( hwnd ) ? win->normal_rect : win->rects.window; release_win_ptr( win ); } -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/7498
10:01 a.m.
New subject: [PATCH 0/1] MR7498: win32u: Use the normal window rectangle to find monitor when a window is minimized. - approved
This merge request was approved by Rémi Bernon. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7498
287
Age (days ago)
287
Last active (days ago)
2 comments
3 participants
participants (3)
-
Rémi Bernon -
Zhiyi Zhang -
Zhiyi Zhang (@zhiyi)