[PATCH 0/5] MR64: win32u: Move more of default window proc from user32.
Huw Davies (@huw)
wine at gitlab.winehq.org
Thu May 12 10:39:07 CDT 2022
Huw Davies (@huw) commented about dlls/win32u/defwnd.c:
> +
> + if (winpos->flags & SWP_NOSIZE) return 0;
> + if ((style & WS_THICKFRAME) || ((style & (WS_POPUP | WS_CHILD)) == 0))
> + {
> + MINMAXINFO info = get_min_max_info( hwnd );
> + winpos->cx = min( winpos->cx, info.ptMaxTrackSize.x );
> + winpos->cy = min( winpos->cy, info.ptMaxTrackSize.y );
> + if (!(style & WS_MINIMIZE))
> + {
> + winpos->cx = max( winpos->cx, info.ptMinTrackSize.x );
> + winpos->cy = max( winpos->cy, info.ptMinTrackSize.y );
> + }
> + }
> + return 0;
> +}
> +
There are some tabs left in this functions.
I don't seem to be able to push to your branch, otherwise I'd have fixed them up myself.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/64#note_809
More information about the wine-devel
mailing list