mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue