keyboard: Drop layoutManager's keyboard-visible-changed

Since now the signal is emitted and handled all within keyboard.js,
use an internal signal to manage keyboard visibility and gesture
enablement.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1668>
This commit is contained in:
Carlos Garnacho
2021-02-11 14:10:48 +01:00
committed by Marge Bot
parent 0580fe6eff
commit 8e73143b24
2 changed files with 21 additions and 17 deletions

View File

@ -181,12 +181,13 @@ const defaultParams = {
};
var LayoutManager = GObject.registerClass({
Signals: { 'hot-corners-changed': {},
'startup-complete': {},
'startup-prepared': {},
'monitors-changed': {},
'system-modal-opened': {},
'keyboard-visible-changed': { param_types: [GObject.TYPE_BOOLEAN] } },
Signals: {
'hot-corners-changed': {},
'startup-complete': {},
'startup-prepared': {},
'monitors-changed': {},
'system-modal-opened': {},
},
}, class LayoutManager extends GObject.Object {
_init() {
super._init();