From 36c7d65ccf7d3927dc9b6a9356291b92ae249c94 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Thu, 15 Mar 2018 14:01:51 +0100 Subject: [PATCH] inputMethod: Pass all key events through the current IM method Even though we are using an "xkb" source, it still makes sense to pass the event through the IBus simple engine, in order to let it handle compose keys and ctrl+shift+[u|e]. https://gitlab.gnome.org/GNOME/gnome-shell/issues/115 Closes: #115 --- js/misc/inputMethod.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/misc/inputMethod.js b/js/misc/inputMethod.js index addc20f4e..621483243 100644 --- a/js/misc/inputMethod.js +++ b/js/misc/inputMethod.js @@ -188,8 +188,7 @@ var InputMethod = new Lang.Class({ vfunc_filter_key_event(event) { if (!this._context || !this._enabled) return false; - if (!this._currentSource || - this._currentSource.type == Keyboard.INPUT_SOURCE_TYPE_XKB) + if (!this._currentSource) return false; let state = event.get_state();