window-actor: Remove another unused field

This commit is contained in:
Jasper St. Pierre 2013-06-12 21:48:23 -04:00
parent 51acc3ee31
commit 73dbb4b9a5

View File

@ -127,8 +127,6 @@ struct _MetaWindowActorPrivate
guint no_shadow : 1; guint no_shadow : 1;
guint no_more_x_calls : 1;
guint unredirected : 1; guint unredirected : 1;
/* This is used to detect fullscreen windows that need to be unredirected */ /* This is used to detect fullscreen windows that need to be unredirected */
@ -1314,14 +1312,6 @@ meta_window_actor_destroy (MetaWindowActor *self)
priv->needs_destroy = TRUE; priv->needs_destroy = TRUE;
/*
* Once the window destruction is initiated we can no longer perform any
* furter X-based operations. For example, if we have a Map effect running,
* we cannot query the window geometry once the effect completes. So, flag
* this.
*/
priv->no_more_x_calls = TRUE;
if (!meta_window_actor_effect_in_progress (self)) if (!meta_window_actor_effect_in_progress (self))
clutter_actor_destroy (CLUTTER_ACTOR (self)); clutter_actor_destroy (CLUTTER_ACTOR (self));
} }