On Wed Jun 19 17:37:57 2024 +0000, Rémi Bernon wrote:
Rebased and added a change to clip the surface to the virtual screen rectangle, similar to what winex11 and wineandroid are doing. Some applications can create very large windows, and we only need the surface for the visible area. This will make it possible to factor out this behavior in win32u.
There are various ways that "offscreen" windows are still visible on macOS, and with this they don't display correctly.
If you move a Wine window partially offscreen and then: - use Exposé/Mission Control to view all windows or application windows (ctrl-up/down arrow) - or take a screenshot of the window (cmd-shift-4, then push space and click on the window)
the offscreen part of the window is blank.
!2453 fixed this previously, and `constrain_window_frame()` should be enforcing some sane limits on window sizes