From fb0cd8033255c3d3797c94510fc548de2fe1ce61 Mon Sep 17 00:00:00 2001 From: Giovanni Campagna Date: Mon, 17 Dec 2012 18:08:53 +0100 Subject: [PATCH] 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, 5 deletions(-) diff --git a/src/compositor/compositor-private.h b/src/compositor/compositor-private.h index 6da647188..0176d1078 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 dabe59ec8..3cc6c9c72 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); /*