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
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
-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