mirror of
https://github.com/elementary/gala.git
synced 2024-09-11 15:15:39 +03:00
WM: Add laters via compositor (#1619)
This commit is contained in:
parent
c8b0fcbc40
commit
0c4204f399
@ -196,7 +196,8 @@ namespace Gala {
|
||||
var color = background_settings.get_string ("primary-color");
|
||||
stage.background_color = Clutter.Color.from_string (color);
|
||||
|
||||
Meta.Util.later_add (Meta.LaterType.BEFORE_REDRAW, () => {
|
||||
unowned var laters = display.get_compositor ().get_laters ();
|
||||
laters.add (Meta.LaterType.BEFORE_REDRAW, () => {
|
||||
WorkspaceManager.init (this);
|
||||
return false;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user