Assign color used as background color as the stage's background color

This commit is contained in:
Tom Beckmann 2012-08-27 23:44:52 +02:00
parent f2b0e9a74a
commit 293be33642

View File

@ -69,7 +69,9 @@ namespace Gala
DBus.init (this);
var stage = Compositor.get_stage_for_screen (screen) as Clutter.Stage;
stage.background_color = {0, 0, 0, 255};
string color = new Settings ("org.gnome.desktop.background").get_string ("primary-color");
stage.background_color = Clutter.Color.from_string (color);
stage.no_clear_hint = true;
screen.override_workspace_layout (ScreenCorner.TOPLEFT, false, 1, -1);