Use Meta.BackgroundActor instances instead of cloning global.background_actor
Instances of this class share a single CoglTexture behind the scenes which allows us to show the background with different rendering options without duplicating the texture data. https://bugzilla.gnome.org/show_bug.cgi?id=656433
This commit is contained in:
@ -167,7 +167,7 @@ WorkspaceThumbnail.prototype = {
|
||||
return true;
|
||||
}));
|
||||
|
||||
this._background = new Clutter.Clone({ source: global.background_actor });
|
||||
this._background = Meta.BackgroundActor.new_for_screen(global.screen);
|
||||
this._contents.add_actor(this._background);
|
||||
|
||||
let monitor = Main.layoutManager.primaryMonitor;
|
||||
|
Reference in New Issue
Block a user