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:
parent
deead2af97
commit
8f1fff1374
@ -746,10 +746,8 @@ var BackgroundManager = class BackgroundManager {
|
|||||||
|
|
||||||
this._container.add_child(backgroundActor);
|
this._container.add_child(backgroundActor);
|
||||||
|
|
||||||
let monitor = this._layoutManager.monitors[this._monitorIndex];
|
|
||||||
|
|
||||||
backgroundActor.set_size(monitor.width, monitor.height);
|
|
||||||
if (this._controlPosition) {
|
if (this._controlPosition) {
|
||||||
|
let monitor = this._layoutManager.monitors[this._monitorIndex];
|
||||||
backgroundActor.set_position(monitor.x, monitor.y);
|
backgroundActor.set_position(monitor.x, monitor.y);
|
||||||
backgroundActor.lower_bottom();
|
backgroundActor.lower_bottom();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user