Ensure window->compositor_private is initialised in meta_window_new_with_attrs
This commit is contained in:
parent
7ea4380725
commit
368346571a
@ -559,6 +559,8 @@ meta_window_new_with_attrs (MetaDisplay *display,
|
|||||||
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