MetaWaylandSurface: Move 'destroying' field

It is not related to the gtk_surface extension, so move it to other
generic fields.

https://bugzilla.gnome.org/show_bug.cgi?id=769936
This commit is contained in:
Jonas Ådahl 2016-06-28 11:55:54 +08:00
parent c73d3d9d83
commit 335cd8e74c

View File

@ -174,6 +174,7 @@ struct _MetaWaylandSurface
int32_t offset_x, offset_y; int32_t offset_x, offset_y;
GList *subsurfaces; GList *subsurfaces;
GHashTable *outputs_to_destroy_notify_id; GHashTable *outputs_to_destroy_notify_id;
gboolean destroying;
/* Buffer reference state. */ /* Buffer reference state. */
struct { struct {
@ -207,7 +208,6 @@ struct _MetaWaylandSurface
/* gtk_surface stuff */ /* gtk_surface stuff */
gboolean is_modal; gboolean is_modal;
gboolean destroying;
/* wl_subsurface stuff. */ /* wl_subsurface stuff. */
struct { struct {