[mutter/wip/surface-content: 8/20] window-actor: Remove outdated code path



commit b293855345f5b27042e27c8e445e21bf0024c5dc
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Fri Dec 6 01:01:26 2013 -0500

    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.

 src/compositor/meta-window-actor.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/src/compositor/meta-window-actor.c b/src/compositor/meta-window-actor.c
index 300f7ed..ab295c3 100644
--- a/src/compositor/meta-window-actor.c
+++ b/src/compositor/meta-window-actor.c
@@ -424,14 +424,6 @@ meta_window_actor_constructed (GObject *object)
       g_signal_connect_object (window, "notify::appears-focused",
                                G_CALLBACK (window_appears_focused_notify), self, 0);
     }
-  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);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]