diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js index d2a82b43d..760d7e9ef 100644 --- a/js/gdm/loginDialog.js +++ b/js/gdm/loginDialog.js @@ -602,7 +602,7 @@ var LoginDialog = GObject.registerClass({ let bannerAllocation = null; let bannerHeight = 0; if (this._bannerView.visible) { - bannerAllocation = this._getBannerAllocation(dialogBox, this._bannerView); + bannerAllocation = this._getBannerAllocation(dialogBox); bannerHeight = bannerAllocation.y2 - bannerAllocation.y1; } diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js index 3761881d0..6dad2df3f 100644 --- a/js/ui/workspacesView.js +++ b/js/ui/workspacesView.js @@ -484,9 +484,6 @@ class WorkspacesView extends WorkspacesViewBase { } _activeWorkspaceChanged(_wm, _from, _to, _direction) { - if (this._scrolling) - return; - this._scrollToActive(); }