summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Müllner <fmuellner@gnome.org>2022-07-03 16:44:39 +0200
committerFlorian Müllner <fmuellner@gnome.org>2022-07-04 19:17:34 +0200
commit897c1bf357c1d57288fcc852fbb7df4a26b6e74f (patch)
tree0c2881bb0c2fcef4462ba7b966b9232f75a4614b
parent110428fae7ce9e38ddb67080bdf0b22106c5cc78 (diff)
downloadgnome-shell-897c1bf357c1d57288fcc852fbb7df4a26b6e74f.tar.gz
keyboard: Fix updating suggestions visibility
Commit 237ba24dbeae added corresponding API to the keyboard actor, but ended up calling it on the KeyboardManager. Add the expected method to KeyboardManager that forwards the request to the keyboard. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5630 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2359> (cherry picked from commit eff23a87c36a6a96c9abab09ab27a4bb35ab1b1f)
-rw-r--r--js/ui/keyboard.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js
index 3858fdfde..98d0a7f6e 100644
--- a/js/ui/keyboard.js
+++ b/js/ui/keyboard.js
@@ -1263,6 +1263,10 @@ var KeyboardManager = class KeyBoardManager {
this._keyboard.resetSuggestions();
}
+ setSuggestionsVisible(visible) {
+ this._keyboard?.setSuggestionsVisible(visible);
+ }
+
shouldTakeEvent(event) {
if (!this._keyboard)
return false;