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:
Carlos Garnacho 2024-01-27 14:26:05 +01:00
parent d917661ce8
commit 81670e1543

View File

@ -1644,7 +1644,7 @@ export const Keyboard = GObject.registerClass({
if (enabled)
this.open(Main.layoutManager.focusIndex);
else
this.close();
this.close(true);
}
_setActiveLevel(activeLevel) {