From 81670e15439d2118c12dc2dd6bea953f9b68c7bd Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Sat, 27 Jan 2024 14:26:05 +0100 Subject: [PATCH] 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: --- js/ui/keyboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js index 4ce21976c..1dc369ff1 100644 --- a/js/ui/keyboard.js +++ b/js/ui/keyboard.js @@ -1644,7 +1644,7 @@ export const Keyboard = GObject.registerClass({ if (enabled) this.open(Main.layoutManager.focusIndex); else - this.close(); + this.close(true); } _setActiveLevel(activeLevel) {