[gnome-shell/gnome-41] keyboard: Fix updating suggestions visibility



commit 897c1bf357c1d57288fcc852fbb7df4a26b6e74f
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 3858fdfde2..98d0a7f6e1 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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]