On Mon Apr 17 22:46:01 2023 +0000, Alexandre Julliard wrote:
Note that the reason for doing this is that some apps create huge windows (like 32,000 x 32,000). Without additional constraints this would create a 4Gb surface.
I think [`constrain_window_frame()`](https://gitlab.winehq.org/wine/wine/-/blob/master/dlls/winemac.drv/window.c#...) should prevent a window that large from being created or resized from Win32, and I added a commit to apply that maximum size to Mac-side resizing also.