summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2013-12-06 01:01:26 -0500
committerJasper St. Pierre <jstpierre@mecheye.net>2013-12-09 14:10:44 -0500
commit66af41f4a9fe1bb92b122629a954061e529e396a (patch)
tree3010c625071dffb24bb6e3a2f8be1c336433d8b2
parente30be380dde48c99b85a5782aa87bd2105db00d5 (diff)
downloadmutter-66af41f4a9fe1bb92b122629a954061e529e396a.tar.gz
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.
-rw-r--r--src/compositor/meta-window-actor.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/compositor/meta-window-actor.c b/src/compositor/meta-window-actor.c
index 8ea582982..b15cc8fe4 100644
--- a/src/compositor/meta-window-actor.c
+++ b/src/compositor/meta-window-actor.c
@@ -384,14 +384,6 @@ meta_window_actor_constructed (GObject *object)
G_CALLBACK (surface_allocation_changed_notify), self, 0);
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);