mirror of
https://gitlab.freedesktop.org/wayland/wayland-protocols.git
synced 2025-12-30 00:20:12 +01:00
unstable/text-input: Add language hint from IME to clients
Some input methods such as a virtual keyboard allow a user to switch between different languages. This is important to clients as some languages should be rendered as RTL or change font rendering.
This commit is contained in:
parent
bbe9298e85
commit
b7bd86c834
1 changed files with 15 additions and 2 deletions
|
|
@ -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
|
||||
|
|
@ -433,9 +433,22 @@
|
|||
</description>
|
||||
<arg name="serial" type="uint"/>
|
||||
</event>
|
||||
|
||||
<event name="language">
|
||||
<description summary="notify of language selection">
|
||||
Notify the application of language used by the input method.
|
||||
|
||||
This event will be sent on creation if known and for all subsequent changes.
|
||||
|
||||
The language should be specified as an IETF BCP 47 tag.
|
||||
Setting an empty string will reset any known language back to the default unknown state.
|
||||
</description>
|
||||
<arg name="language" type="string" summary="new language set by IME"/>
|
||||
</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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue