mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 17:40:40 -05:00
plugins/default: Make the background a vignette
Make the default plugin background a vignette in order to see that it properly draws using the correct scale. https://bugzilla.gnome.org/show_bug.cgi?id=768976
This commit is contained in:
parent
f31d71ce63
commit
085df1170e
@ -357,6 +357,11 @@ on_monitors_changed (MetaScreen *screen,
|
||||
meta_background_actor_set_background (META_BACKGROUND_ACTOR (background_actor), background);
|
||||
g_object_unref (background);
|
||||
|
||||
meta_background_actor_set_vignette (META_BACKGROUND_ACTOR (background_actor),
|
||||
TRUE,
|
||||
0.5,
|
||||
0.5);
|
||||
|
||||
clutter_actor_add_child (self->priv->background_group, background_actor);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user