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:
parent
fe6a635c3a
commit
6c38e0a4e3
@ -777,6 +777,8 @@ _gdk_window_impl_new (GdkWindow *window,
|
|||||||
g_object_ref (draw_impl->colormap);
|
g_object_ref (draw_impl->colormap);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl->needs_display_region = NULL;
|
||||||
|
|
||||||
/* Maintain the z-ordered list of children. */
|
/* Maintain the z-ordered list of children. */
|
||||||
if (private->parent != (GdkWindowObject *)_gdk_root)
|
if (private->parent != (GdkWindowObject *)_gdk_root)
|
||||||
parent_impl->sorted_children = g_list_prepend (parent_impl->sorted_children, window);
|
parent_impl->sorted_children = g_list_prepend (parent_impl->sorted_children, window);
|
||||||
|
Loading…
Reference in New Issue
Block a user