Skip to content

Commit

Permalink
WM: Add laters via compositor (#1619)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmhewitt committed Apr 5, 2023
1 parent c8b0fcb commit 0c4204f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/WindowManager.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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;
});
Expand Down

0 comments on commit 0c4204f

Please sign in to comment.