14 Oct
2025
14 Oct
'25
10:33 p.m.
Currently on macOS when display mode emulation is enabled, the space (letterboxes/pillarboxes) around the scaled full-screen content is usually white. We want it to be black instead, like it would be in the case of a real display mode change. To do this: in `WindowPosChanged` when `fullscreen == TRUE`, cover the window with black borders so that only the `window` rect is visible. A `CAShapeLayer` is used, and added as a sublayer to the window's `contentView.layer`. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9176