keyboard: Add visible property

So its visibility can be queried externally.
This commit is contained in:
Carlos Garnacho 2017-12-15 17:53:48 +01:00
parent 5b1e705561
commit e0910c0f7c

View File

@ -301,6 +301,10 @@ var Keyboard = new Lang.Class({
this._redraw();
},
get visible() {
return this._keyboardVisible;
},
_setCaretTrackerEnabled: function (enabled) {
if (this._caretTrackingEnabled == enabled)
return;