diff --git a/dash.js b/dash.js index 8567317a8..b42b42437 100644 --- a/dash.js +++ b/dash.js @@ -529,7 +529,7 @@ var MyDash = GObject.registerClass({ let switchTimerId = { id: 0 }; let isDndTarget = false; - let scale = St.ThemeContext.get_for_stage(Meta.get_backend().get_stage()).scale_factor; + let scale = St.ThemeContext.get_for_stage(global.stage).scale_factor; // Detect dragging over icon (Wayland) appIcon.connect('motion-event', (obj, event) => {