From 8f1fff137410011cb799541349edf33736e1023f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Thu, 3 Aug 2017 15:52:06 +0200 Subject: [PATCH] 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 --- js/ui/background.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/js/ui/background.js b/js/ui/background.js index bcd9ffc13..06e038816 100644 --- a/js/ui/background.js +++ b/js/ui/background.js @@ -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(); }