From b7bd86c8347482989a1b5c2be56533a027482082 Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Tue, 1 Aug 2023 10:52:42 +0100 Subject: [PATCH] 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. --- unstable/text-input/text-input-unstable-v3.xml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/unstable/text-input/text-input-unstable-v3.xml b/unstable/text-input/text-input-unstable-v3.xml index 1fae54d..808c720 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. - + 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 @@ + + + + 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. + + + + - + A factory for text-input objects. This object is a global singleton.