keyboard: Close keyboard immediately on Clutter.InputPanelState.OFF
This is already covered by a timeout to handle focus transitions between windows at the Clutter.InputMethod implementation, we can react immediately and avoid chaining up timeouts. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3162>
This commit is contained in:
parent
d917661ce8
commit
81670e1543
@ -1644,7 +1644,7 @@ export const Keyboard = GObject.registerClass({
|
|||||||
if (enabled)
|
if (enabled)
|
||||||
this.open(Main.layoutManager.focusIndex);
|
this.open(Main.layoutManager.focusIndex);
|
||||||
else
|
else
|
||||||
this.close();
|
this.close(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
_setActiveLevel(activeLevel) {
|
_setActiveLevel(activeLevel) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user