[mutter] compositor: remove the hidden group



commit fb0cd8033255c3d3797c94510fc548de2fe1ce61
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Mon Dec 17 18:08:53 2012 +0100

    compositor: remove the hidden group
    
    It is unused and always empty.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=682427

 src/compositor/compositor-private.h |    1 -
 src/compositor/compositor.c         |    4 ----
 2 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/src/compositor/compositor-private.h b/src/compositor/compositor-private.h
index 6da6471..0176d10 100644
--- a/src/compositor/compositor-private.h
+++ b/src/compositor/compositor-private.h
@@ -40,7 +40,6 @@ struct _MetaCompScreen
 
   ClutterActor          *stage, *window_group, *overlay_group;
   ClutterActor          *background_actor;
-  ClutterActor         *hidden_group;
   GList                 *windows;
   GHashTable            *windows_by_xid;
   Window                 output;
diff --git a/src/compositor/compositor.c b/src/compositor/compositor.c
index dabe59e..3cc6c9c 100644
--- a/src/compositor/compositor.c
+++ b/src/compositor/compositor.c
@@ -590,7 +590,6 @@ meta_compositor_manage_screen (MetaCompositor *compositor,
   info->window_group = meta_window_group_new (screen);
   info->background_actor = meta_background_actor_new_for_screen (screen);
   info->overlay_group = clutter_group_new ();
-  info->hidden_group = clutter_group_new ();
 
   clutter_container_add (CLUTTER_CONTAINER (info->window_group),
                          info->background_actor,
@@ -599,11 +598,8 @@ meta_compositor_manage_screen (MetaCompositor *compositor,
   clutter_container_add (CLUTTER_CONTAINER (info->stage),
                          info->window_group,
                          info->overlay_group,
-                        info->hidden_group,
                          NULL);
 
-  clutter_actor_hide (info->hidden_group);
-
   info->plugin_mgr = meta_plugin_manager_new (screen);
 
   /*


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