Merge branch 'issue5393' into 'gtk-3-24'

[quartz] Set GdkQuartzView wantsLayer.

See merge request GNOME/gtk!5309
This commit is contained in:
Matthias Clasen
2022-12-11 04:02:00 +00:00

View File

@ -326,10 +326,17 @@
[super viewWillDraw];
}
#if MAC_OS_X_VERSION_MIN_REQUIRED >= 10900
-(BOOL)wantsUpdateLayer
{
return YES;
}
#endif
-(BOOL)wantsLayer
{
return YES;
}
static void
nsrect_from_cairo_rect (NSRect *nsrect, cairo_rectangle_int_t *rect)