WM: Add laters via compositor (#1619)

This commit is contained in:
David Hewitt 2023-04-05 12:56:42 +01:00 committed by GitHub
parent c8b0fcbc40
commit 0c4204f399
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
});