Remove unused dock_windows list from MetaCompScreen
MetaCompScreen.dock_windows was kept updated, but never used. http://bugzilla.gnome.org/show_bug.cgi?id=587251
This commit is contained in:
parent
a0f06cab43
commit
309a07bf4c
@ -37,7 +37,6 @@ struct _MetaCompScreen
|
|||||||
GHashTable *windows_by_xid;
|
GHashTable *windows_by_xid;
|
||||||
MetaWindow *focus_window;
|
MetaWindow *focus_window;
|
||||||
Window output;
|
Window output;
|
||||||
GSList *dock_windows;
|
|
||||||
|
|
||||||
/* Before we create the output window */
|
/* Before we create the output window */
|
||||||
XserverRegion pending_input_region;
|
XserverRegion pending_input_region;
|
||||||
|
@ -400,12 +400,6 @@ mutter_window_dispose (GObject *object)
|
|||||||
priv->damage = None;
|
priv->damage = None;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* Check we are not in the dock list -- FIXME (do this in a cleaner way)
|
|
||||||
*/
|
|
||||||
if (priv->type == META_COMP_WINDOW_DOCK)
|
|
||||||
info->dock_windows = g_slist_remove (info->dock_windows, self);
|
|
||||||
|
|
||||||
info->windows = g_list_remove (info->windows, (gconstpointer) self);
|
info->windows = g_list_remove (info->windows, (gconstpointer) self);
|
||||||
g_hash_table_remove (info->windows_by_xid, (gpointer) priv->xwindow);
|
g_hash_table_remove (info->windows_by_xid, (gpointer) priv->xwindow);
|
||||||
|
|
||||||
@ -1218,12 +1212,6 @@ mutter_window_new (MetaWindow *window)
|
|||||||
CLUTTER_ACTOR (self));
|
CLUTTER_ACTOR (self));
|
||||||
clutter_actor_hide (CLUTTER_ACTOR (self));
|
clutter_actor_hide (CLUTTER_ACTOR (self));
|
||||||
|
|
||||||
if (priv->type == META_COMP_WINDOW_DOCK)
|
|
||||||
{
|
|
||||||
meta_verbose ("Appending %s to dock windows\n", meta_window_get_description (window));
|
|
||||||
info->dock_windows = g_slist_append (info->dock_windows, self);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Add this to the list at the top of the stack before it is mapped so that
|
* Add this to the list at the top of the stack before it is mapped so that
|
||||||
* map_win can find it again
|
* map_win can find it again
|
||||||
|
Loading…
x
Reference in New Issue
Block a user