background: Don't set background actor sizing and scaling

Mutter BackgroundActor is able do detect this at lower level

https://bugzilla.gnome.org/show_bug.cgi?id=765011
This commit is contained in:
Marco Trevisan (Treviño) 2017-08-03 15:52:06 +02:00 committed by Jonas Ådahl
parent deead2af97
commit 8f1fff1374

View File

@ -746,10 +746,8 @@ var BackgroundManager = class BackgroundManager {
this._container.add_child(backgroundActor);
let monitor = this._layoutManager.monitors[this._monitorIndex];
backgroundActor.set_size(monitor.width, monitor.height);
if (this._controlPosition) {
let monitor = this._layoutManager.monitors[this._monitorIndex];
backgroundActor.set_position(monitor.x, monitor.y);
backgroundActor.lower_bottom();
}