Re: [PATCH v2] ui/cocoa: Fix window clipping on macOS 14

2024-02-26 Thread Philippe Mathieu-Daudé
On 24/2/24 15:06, David Parsons wrote: macOS Sonoma changes the NSView.clipsToBounds to false by default where it was true in earlier version of macOS. This causes the window contents to be occluded by the frame at the top of the window. This fixes the issue by conditionally compiling the clippin

Re: [PATCH v2] ui/cocoa: Fix window clipping on macOS 14

2024-02-24 Thread Akihiko Odaki
On 2024/02/24 23:06, David Parsons wrote: macOS Sonoma changes the NSView.clipsToBounds to false by default where it was true in earlier version of macOS. This causes the window contents to be occluded by the frame at the top of the window. This fixes the issue by conditionally compiling the clip

[PATCH v2] ui/cocoa: Fix window clipping on macOS 14

2024-02-24 Thread David Parsons
macOS Sonoma changes the NSView.clipsToBounds to false by default where it was true in earlier version of macOS. This causes the window contents to be occluded by the frame at the top of the window. This fixes the issue by conditionally compiling the clipping on Sonoma to true. NSView only exposes