workspacesView: Handle null return value
We are not going to process key events while updating views, but coverity complains (CID 351269)... Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1950>
This commit is contained in:
parent
5b3036a6bf
commit
46b0d3f6cc
@ -1019,7 +1019,7 @@ class WorkspacesDisplay extends St.Widget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
vfunc_navigate_focus(from, direction) {
|
vfunc_navigate_focus(from, direction) {
|
||||||
return this._getPrimaryView().navigate_focus(from, direction, false);
|
return this._getPrimaryView()?.navigate_focus(from, direction, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
setPrimaryWorkspaceVisible(visible) {
|
setPrimaryWorkspaceVisible(visible) {
|
||||||
|
Loading…
Reference in New Issue
Block a user