Ensure window->compositor_private is initialised in meta_window_new_with_attrs
This commit is contained in:
parent
7ea4380725
commit
368346571a
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user