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

2024-02-24 Thread David Parsons
the clipToBounds in macOS 14 and so has to be fixed via conditional compilation. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1994 Signed-off-by: David Parsons --- ui/cocoa.m | 7 +++ 1 file changed, 7 insertions(+) diff --git a/ui/cocoa.m b/ui/cocoa.m index eb99064bee

Re: [PATCH] ui/cocoa: Fix incorrect window clipping on macOS Sonoma

2024-02-23 Thread David Parsons
ael Tokarev wrote: >>> >>> [Adding a few more Ccs] >>> >>> 17.02.2024 18:58, David Parsons : >>>> macOS Sonoma changes the NSView.clipsToBounds to false by default where it >>>> was true in >>>> earlier version of macOS. This causes

[PATCH] ui/cocoa: Fix incorrect window clipping on macOS Sonoma

2024-02-17 Thread David Parsons
-project/qemu/-/issues/1994 Signed-off-by: David Parsons diff --git a/ui/cocoa.m b/ui/cocoa.m index eb99064bee..c9e3b96004 100644 --- a/ui/cocoa.m +++ b/ui/cocoa.m @@ -365,6 +365,9 @@ - (id)initWithFrame:(NSRect)frameRect screen.width = frameRect.size.width; screen.height