diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js index 1d03e3131..3761881d0 100644 --- a/js/ui/workspacesView.js +++ b/js/ui/workspacesView.js @@ -1019,7 +1019,7 @@ class WorkspacesDisplay extends St.Widget { } vfunc_navigate_focus(from, direction) { - return this._getPrimaryView().navigate_focus(from, direction, false); + return this._getPrimaryView()?.navigate_focus(from, direction, false); } setPrimaryWorkspaceVisible(visible) {