mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 03:10:09 +00:00
quartz: Compare visuals for RGBA, not colormaps
This commit is contained in:
parent
504a2d4194
commit
eac72ec830
@ -61,8 +61,8 @@
|
||||
if (GDK_WINDOW_DESTROYED (gdk_window))
|
||||
return YES;
|
||||
|
||||
/* A view is opaque if its GdkWindow doesn't have the RGBA colormap */
|
||||
return gdk_drawable_get_colormap (gdk_window) != gdk_screen_get_rgba_colormap (_gdk_screen);
|
||||
/* A view is opaque if its GdkWindow doesn't have the RGBA visual */
|
||||
return gdk_window_get_visual (gdk_window) != gdk_screen_get_rgba_visual (_gdk_screen);
|
||||
}
|
||||
|
||||
-(void)drawRect:(NSRect)rect
|
||||
|
Loading…
Reference in New Issue
Block a user