mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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
This commit is contained in:
parent
9aca26916c
commit
cdd513aef4
1 changed files with 2 additions and 1 deletions
|
|
@ -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()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue