keyboard: Add missing setter
We override the :visible property for the keyboard actor, but don't provide a corresponding setter. The property is therefore read-only on the javascript level, and any attempt to set it will fail. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2691
This commit is contained in:
parent
49d6db34b7
commit
3ba4304da9
@ -1257,6 +1257,10 @@ class Keyboard extends St.BoxLayout {
|
||||
return this._keyboardVisible && super.visible;
|
||||
}
|
||||
|
||||
set visible(visible) {
|
||||
super.visible = visible;
|
||||
}
|
||||
|
||||
_onFocusPositionChanged(focusTracker) {
|
||||
let rect = focusTracker.getCurrentRect();
|
||||
this.setCursorLocation(focusTracker.currentWindow, rect.x, rect.y, rect.width, rect.height);
|
||||
|
Loading…
Reference in New Issue
Block a user