13
0

explicitly initialize the needs_display_region member of a GDK quartz window

This may not be necessary but it is better to have it be explicit
This commit is contained in:
Paul Davis 2024-03-22 13:12:33 -06:00
parent fe6a635c3a
commit 6c38e0a4e3

View File

@ -777,6 +777,8 @@ _gdk_window_impl_new (GdkWindow *window,
g_object_ref (draw_impl->colormap);
}
impl->needs_display_region = NULL;
/* Maintain the z-ordered list of children. */
if (private->parent != (GdkWindowObject *)_gdk_root)
parent_impl->sorted_children = g_list_prepend (parent_impl->sorted_children, window);