From 0b334b22af62e163bfebb1c76dff96dc51b4912d Mon Sep 17 00:00:00 2001 From: Jason DeRose Date: Sun, 27 Oct 2019 17:12:30 -0400 Subject: [PATCH] Work around scroll adjustment moved to workspaces display #785 --- panelManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panelManager.js b/panelManager.js index 69bf57c..c3f242a 100755 --- a/panelManager.js +++ b/panelManager.js @@ -403,7 +403,7 @@ var dtpPanelManager = Utils.defineClass({ view = new WorkspacesView.WorkspacesView(i); view.actor.connect('scroll-event', this._onScrollEvent.bind(this)); - if (i == Main.layoutManager.primaryIndex) { + if (i == Main.layoutManager.primaryIndex && view.scrollAdjustment) { this._scrollAdjustment = view.scrollAdjustment; this._scrollAdjustment.connect('notify::value', this._scrollValueChanged.bind(this));