-
- Downloads
input: Add support for zwp_text_input_v3 and zwp_input_method_v2
Some clients such as gtk+3 require the zwp_text_input_v3 protocol for
input-method handling. This patch adds this protocol support to text-backend and also
modifies weston-keyboard to support zwp_input_method_v2, which is an update
for the v1 protocol and aligned with the updated text-input protocol.
The patch also adds support for zwp_virtual_keyboard_v1, used to emulate the
behaviour of a physical keyboard.
Note that the updated input-method v2 protocol does not support the input-panel interface
as it did on v1. The input panel interface is implemented by desktop-shell to properly
display the virtual keyboard interface.
To avoid depending on both input method v2 and v1 (for input-panel only), this patch adds
a new weston-input-panel internal protocol (a copy of the old interface from input-method v1),
which is then implemented by desktop-shell and used by weston-keyboard when displaying
its window.
Signed-off-by:
Andre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>
Showing
- Makefile.am 27 additions, 7 deletionsMakefile.am
- clients/keyboard.c 260 additions, 268 deletionsclients/keyboard.c
- clients/meson.build 8 additions, 4 deletionsclients/meson.build
- clients/window.c 9 additions, 0 deletionsclients/window.c
- clients/window.h 3 additions, 0 deletionsclients/window.h
- compositor/meson.build 8 additions, 4 deletionscompositor/meson.build
- compositor/text-backend.c 611 additions, 493 deletionscompositor/text-backend.c
- desktop-shell/input-panel.c 6 additions, 6 deletionsdesktop-shell/input-panel.c
- desktop-shell/meson.build 2 additions, 2 deletionsdesktop-shell/meson.build
- protocol/meson.build 4 additions, 0 deletionsprotocol/meson.build
- protocol/weston-input-panel.xml 63 additions, 0 deletionsprotocol/weston-input-panel.xml
- tests/meson.build 4 additions, 2 deletionstests/meson.build
- tests/text-test.c 55 additions, 96 deletionstests/text-test.c
Loading
Please register or sign in to comment