From ba4ea256d1106ad5dfc59d0db5dd7b706010e6c4 Mon Sep 17 00:00:00 2001 From: Tadeo Kondrak Date: Fri, 19 Mar 2021 14:14:37 -0600 Subject: [PATCH] text-input: Synchronize set_cursor_rectangle with the wl_surface Signed-off-by: Tadeo Kondrak --- unstable/text-input/text-input-unstable-v3.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/unstable/text-input/text-input-unstable-v3.xml b/unstable/text-input/text-input-unstable-v3.xml index cfc46a3..3b8ed38 100644 --- a/unstable/text-input/text-input-unstable-v3.xml +++ b/unstable/text-input/text-input-unstable-v3.xml @@ -282,6 +282,16 @@ the text input does not support describing the cursor area. If the empty values get applied, subsequent attempts to change them may have no effect. + + As of version 2, the values sent with this request are not used + immediately after they are applied to the text-input state. + + After the pending state is applied with the zwp_text_input_v3.commit + request, the following wl_surface.commit request on the surface with + text-input focus will cause the values to become active. + + If the surface with text-input focus changes before a wl_surface.commit + request is sent, the values are discarded.