From 9c8452269d1fb00bd8808d3d0843112eac75bd96 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Fri, 26 Jan 2024 16:18:38 +0100 Subject: [PATCH] keyboard: Minor refactor Call the _updateKeys() method, instead of inlining it. Part-of: --- js/ui/keyboard.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js index 56c8d585e..05ac18a8b 100644 --- a/js/ui/keyboard.js +++ b/js/ui/keyboard.js @@ -1411,8 +1411,7 @@ export const Keyboard = GObject.registerClass({ this._keypad.hide(); this._keypadVisible = false; - this._ensureKeysForGroup(this._keyboardController.getCurrentGroup()); - this._setActiveLayer(0); + this._updateKeys(); Main.inputMethod.connectObject( 'terminal-mode-changed', this._onTerminalModeChanged.bind(this),