mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue