diff options
author | Dorota Czaplejewicz <dorota.czaplejewicz@puri.sm> | 2019-07-29 11:35:23 +0000 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-12-06 12:03:35 +0000 |
commit | df315b11eeaa67d79cfdd1565ffcc4f28de79dd3 (patch) | |
tree | 7da993f3d10feb56039a012f2e92ca4044fe265f | |
parent | 155d5774e1ac9ccfbba694cc90383b36f1b0aa71 (diff) | |
download | wayland-protocols-wip/text-input-next.tar.gz |
text-input: Add on_screen_input_provided hintwip/text-input-next
The new hint is meant to indicate that the text input already provides an on-screen means to enter data, and that using the system provided input method may not be needed.
It should be used when the client presents the user with a custom on-screen input method, like an on-screen keyboard, or perhaps a dropdown list.
The new hint is meant to address the issue when the system input method is an on-screen keyboard. Without the hint, the input method would not know that it's not needed, unless the client refrained from using the input method protocol at all.
With the hint, the input method can still be enabled, while not displaying a second on-screen keyboard. This allows for the system input method to still provide accessibility services, as well as text completion or prediction.
Based on discussion in https://gitlab.gnome.org/GNOME/gtk/merge_requests/978
Signed-off-by: Dorota Czaplejewicz <dorota.czaplejewicz@puri.sm>
-rw-r--r-- | unstable/text-input/text-input-unstable-v3.xml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/unstable/text-input/text-input-unstable-v3.xml b/unstable/text-input/text-input-unstable-v3.xml index 8b710fd..37a927d 100644 --- a/unstable/text-input/text-input-unstable-v3.xml +++ b/unstable/text-input/text-input-unstable-v3.xml @@ -47,7 +47,7 @@ interface version number is reset. </description> - <interface name="zwp_text_input_v3" version="1"> + <interface name="zwp_text_input_v3" version="2"> <description summary="text input"> The zwp_text_input_v3 interface represents text input and input methods associated with a seat. It provides enter/leave events to follow the @@ -205,6 +205,9 @@ <entry name="sensitive_data" value="0x80" summary="typed text should not be stored"/> <entry name="latin" value="0x100" summary="just Latin characters should be entered"/> <entry name="multiline" value="0x200" summary="the text input is multiline"/> + <entry + name="on_screen_input_provided" value="0x400" since="2" + summary="an on-screen way to fill in the input is already provided by the client"/> </enum> <enum name="content_purpose"> @@ -419,7 +422,7 @@ </event> </interface> - <interface name="zwp_text_input_manager_v3" version="1"> + <interface name="zwp_text_input_manager_v3" version="2"> <description summary="text input manager"> A factory for text-input objects. This object is a global singleton. </description> |