[PATCH v6 0/1] MR3667: comctl32/status: Invalidate entire status bar on WM_SIZE.
Fixes a bug where the statusbar doesn't correctly paint when the parent window is resized. This can be seen in wine notepad. -- v6: comctl32/status: Invalidate entire status bar on WM_SIZE. https://gitlab.winehq.org/wine/wine/-/merge_requests/3667
From: Jacob Czekalla <jacobczekalla(a)gmail.com> --- dlls/comctl32/status.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/comctl32/status.c b/dlls/comctl32/status.c index 5251f3677b0..3e1bc4902ff 100644 --- a/dlls/comctl32/status.c +++ b/dlls/comctl32/status.c @@ -1068,8 +1068,9 @@ STATUSBAR_WMSize (STATUS_INFO *infoPtr, WORD flags) width = parent_rect.right - parent_rect.left; x = parent_rect.left; y = parent_rect.bottom - infoPtr->height; - MoveWindow (infoPtr->Self, x, y, width, infoPtr->height, TRUE); + MoveWindow(infoPtr->Self, x, y, width, infoPtr->height, FALSE); STATUSBAR_SetPartBounds (infoPtr); + InvalidateRect(infoPtr->Self, NULL, FALSE); return TRUE; } -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/3667
This merge request was approved by Zhiyi Zhang. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3667
Thank you for your time. It was very helpful and I hope I can continue to contribute wine. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3667#note_44116
This merge request was approved by Nikolay Sivov. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3667
participants (4)
-
Jacob Czekalla -
Jacob Czekalla (@Maaka00524) -
Nikolay Sivov (@nsivov) -
Zhiyi Zhang (@zhiyi)