[gnome-shell/gnome-42] keyboard: Fix updating suggestions visibility
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-42] keyboard: Fix updating suggestions visibility
- Date: Mon, 4 Jul 2022 17:15:11 +0000 (UTC)
commit aca79c027483f86e85043f403321a8d8016ca007
Author: Florian Müllner <fmuellner gnome org>
Date: Sun Jul 3 16:44:39 2022 +0200
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)
js/ui/keyboard.js | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js
index 9e5dbffbb1..e13652bdfe 100644
--- a/js/ui/keyboard.js
+++ b/js/ui/keyboard.js
@@ -1273,6 +1273,10 @@ var KeyboardManager = class KeyBoardManager {
this._keyboard.resetSuggestions();
}
+ setSuggestionsVisible(visible) {
+ this._keyboard?.setSuggestionsVisible(visible);
+ }
+
maybeHandleEvent(event) {
if (!this._keyboard)
return false;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]