layout: rework background handling
This commit updates the code to use mutter's new background api, and changes the shell's startup animation to be closer to the mockups. Based on initial work by Giovanni Campagna https://bugzilla.gnome.org/show_bug.cgi?id=682429
This commit is contained in:
@ -108,7 +108,6 @@ enum {
|
||||
PROP_STAGE_INPUT_MODE,
|
||||
PROP_WINDOW_GROUP,
|
||||
PROP_TOP_WINDOW_GROUP,
|
||||
PROP_BACKGROUND_ACTOR,
|
||||
PROP_WINDOW_MANAGER,
|
||||
PROP_SETTINGS,
|
||||
PROP_DATADIR,
|
||||
@ -207,9 +206,6 @@ shell_global_get_property(GObject *object,
|
||||
case PROP_TOP_WINDOW_GROUP:
|
||||
g_value_set_object (value, meta_get_top_window_group_for_screen (global->meta_screen));
|
||||
break;
|
||||
case PROP_BACKGROUND_ACTOR:
|
||||
g_value_set_object (value, meta_get_background_actor_for_screen (global->meta_screen));
|
||||
break;
|
||||
case PROP_WINDOW_MANAGER:
|
||||
g_value_set_object (value, global->wm);
|
||||
break;
|
||||
@ -436,13 +432,6 @@ shell_global_class_init (ShellGlobalClass *klass)
|
||||
CLUTTER_TYPE_ACTOR,
|
||||
G_PARAM_READABLE));
|
||||
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_BACKGROUND_ACTOR,
|
||||
g_param_spec_object ("background-actor",
|
||||
"Background Actor",
|
||||
"Actor drawing root window background",
|
||||
CLUTTER_TYPE_ACTOR,
|
||||
G_PARAM_READABLE));
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_WINDOW_MANAGER,
|
||||
g_param_spec_object ("window-manager",
|
||||
|
Reference in New Issue
Block a user