summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2020-01-31 11:12:19 +0100
committerCarlos Garnacho <carlosg@gnome.org>2020-01-31 11:18:54 +0100
commitcdd513aef4ad01b37b82e9313bad95a7d823fa54 (patch)
treedac6ec2ca05ebc48bfcea864bea0875aa6e25d1a
parent9aca26916ce70e8a4840076b97edd992889e4bf4 (diff)
downloadgnome-shell-wip/carlosg/lockscreen-fix.tar.gz
shellEntry: Look up keymap from the ClutterSeatwip/carlosg/lockscreen-fix
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
-rw-r--r--js/ui/shellEntry.js3
1 files changed, 2 insertions, 1 deletions
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()) {