window-actor: Remove outdated code path

The shadow is added in the paint step, not as a separate actor,
so the raise is a no-op. It also gets rid of an annoying misspelling
that's driving me crazy.
This commit is contained in:
Jasper St. Pierre 2013-12-06 01:01:26 -05:00
parent e30be380dd
commit 66af41f4a9

View File

@ -384,14 +384,6 @@ meta_window_actor_constructed (GObject *object)
G_CALLBACK (surface_allocation_changed_notify), self, 0); G_CALLBACK (surface_allocation_changed_notify), self, 0);
meta_window_actor_update_shape (self); meta_window_actor_update_shape (self);
} }
else
{
/*
* This is the case where existing window is gaining/loosing frame.
* Just ensure the actor is top most (i.e., above shadow).
*/
clutter_actor_set_child_above_sibling (CLUTTER_ACTOR (self), CLUTTER_ACTOR (priv->surface), NULL);
}
meta_window_actor_update_opacity (self); meta_window_actor_update_opacity (self);