[gnome-shell] keyboard: Fix updating suggestions visibility



commit eff23a87c36a6a96c9abab09ab27a4bb35ab1b1f
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>

 js/ui/keyboard.js | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js
index ac2a800b40..b40886cc1b 100644
--- a/js/ui/keyboard.js
+++ b/js/ui/keyboard.js
@@ -1276,6 +1276,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]