Skip to content

Commit

Permalink
docking: LayoutManager._prepareStartupAnimation is async
Browse files Browse the repository at this point in the history
It was changed to async in gnome-shell 3.38

Closes: #2110
  • Loading branch information
vanvugt committed Mar 20, 2024
1 parent 506dd02 commit d3e531c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docking.js
Original file line number Diff line number Diff line change
Expand Up @@ -2218,7 +2218,7 @@ export class DockManager {
// https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2763
this._methodInjections.addWithLabel(Labels.STARTUP_ANIMATION,
Main.layoutManager.constructor.prototype,
'_prepareStartupAnimation', function (originalMethod, ...args) {
'_prepareStartupAnimation', async function (originalMethod, ...args) {
/* eslint-disable no-invalid-this */
const dockManager = DockManager.getDefault();
const temporaryInjections = new Utils.InjectionsHandler(
Expand Down

0 comments on commit d3e531c

Please sign in to comment.