keyboard: Implement standalone FocusTracker

Desktop / GNOME / GNOME Shell - Carlos Garnacho [gnome.org] - 11 July 2018 16:32 EDT

And stop using FocusCaretTracker for caret position purposes. This new object uses 1) the text-input protocol in wayland and 2) Info from IBusPanelService for X11 (which is meant to work for XIM too).

This drops the usage of AtspiEventListener for OSK purposes, which is best to avoid.

fc5ab4470 keyboard: Implement standalone FocusTracker
js/misc/ibusManager.js | 5 ++
js/ui/keyboard.js | 236 +++++++++++++++++++++++--------------------------
2 files changed, 117 insertions(+), 124 deletions(-)

Upstream: git.gnome.org


  • Share