From cdd513aef4ad01b37b82e9313bad95a7d823fa54 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Fri, 31 Jan 2020 11:12:19 +0100 Subject: [PATCH] shellEntry: Look up keymap from the ClutterSeat The get_keymap() method no longer exists on the ClutterBackend, but was moved to the ClutterSeat. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/969 --- js/ui/shellEntry.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/ui/shellEntry.js b/js/ui/shellEntry.js index 0488d70d0..3e304146e 100644 --- a/js/ui/shellEntry.js +++ b/js/ui/shellEntry.js @@ -164,7 +164,8 @@ class CapsLockWarning extends St.Label { this.clutter_text.ellipsize = Pango.EllipsizeMode.NONE; this.clutter_text.line_wrap = true; - this._keymap = Clutter.get_default_backend().get_keymap(); + let seat = Clutter.get_default_backend().get_default_seat(); + this._keymap = seat.get_keymap(); this.connect('notify::mapped', () => { if (this.is_mapped()) {