window-actor: Set as unreactive when hiding

This means that we should never pick the actor when it's being destroyed.
This commit is contained in:
Jasper St. Pierre 2013-11-19 19:34:04 -05:00
parent 1b5ace8256
commit 2952d3671d

View File

@ -1602,6 +1602,7 @@ meta_window_actor_hide (MetaWindowActor *self,
g_return_if_fail (priv->visible);
priv->visible = FALSE;
clutter_actor_set_reactive (CLUTTER_ACTOR (self), FALSE);
/* If a plugin is animating a workspace transition, we have to
* hold off on hiding the window, and do it after the workspace