From d3e531c0ed2d439d3ab321d0a84cdf0eba34efa7 Mon Sep 17 00:00:00 2001 From: Daniel van Vugt Date: Wed, 20 Mar 2024 16:49:53 +0800 Subject: [PATCH] docking: LayoutManager._prepareStartupAnimation is async It was changed to async in gnome-shell 3.38 Closes: https://github.com/micheleg/dash-to-dock/issues/2110 --- docking.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docking.js b/docking.js index ef3c9359f..0837c255a 100644 --- a/docking.js +++ b/docking.js @@ -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(