Ensure window->compositor_private is initialised in meta_window_new_with_attrs

This commit is contained in:
Robert Bragg 2008-10-31 12:57:47 +00:00
parent 7ea4380725
commit 368346571a

View File

@ -558,6 +558,8 @@ meta_window_new_with_attrs (MetaDisplay *display,
window->stack_position = -1; window->stack_position = -1;
window->initial_workspace = 0; /* not used */ window->initial_workspace = 0; /* not used */
window->initial_timestamp = 0; /* not used */ window->initial_timestamp = 0; /* not used */
window->compositor_private = NULL;
meta_display_register_x_window (display, &window->xwindow, window); meta_display_register_x_window (display, &window->xwindow, window);