From 594bb8e09338f76578e1fae1881c0946697a0427 Mon Sep 17 00:00:00 2001 From: Yong Bakos Date: Fri, 19 Aug 2016 11:05:27 -0700 Subject: text-input: Rename text-input to text_input MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Interface names are lower_snake_case, and corresponding descriptions should match, for accuracy and clarity. This renaming only affects description text, to follow the convention that exists elswhere in this protocol document and in other protocol docs, when referring to interface names. Signed-off-by: Yong Bakos Reviewed-by: Bryce Harrington Reviewed-by: Jonas Ã…dahl --- unstable/text-input/text-input-unstable-v1.xml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/unstable/text-input/text-input-unstable-v1.xml b/unstable/text-input/text-input-unstable-v1.xml index 853599b..0c34a8a 100644 --- a/unstable/text-input/text-input-unstable-v1.xml +++ b/unstable/text-input/text-input-unstable-v1.xml @@ -27,13 +27,13 @@ An object used for text input. Adds support for text input and input - methods to applications. A text-input object is created from a + methods to applications. A text_input object is created from a wl_text_input_manager and corresponds typically to a text entry in an application. - Requests are used to activate/deactivate the text-input object and set + Requests are used to activate/deactivate the text_input object and set state information like surrounding and selected text or the content type. - The information about entered text is sent to the text-input object via + The information about entered text is sent to the text_input object via the pre-edit and commit events. Using this interface removes the need for applications to directly process hardware key events and compose text out of them. @@ -59,12 +59,12 @@ - Requests the text-input object to be activated (typically when the + Requests the text_input object to be activated (typically when the text entry gets focus). The seat argument is a wl_seat which maintains the focus for this activation. The surface argument is a wl_surface assigned to the - text-input object and tracked for focus lost. The enter event + text_input object and tracked for focus lost. The enter event is emitted on successful activation. @@ -73,7 +73,7 @@ - Requests the text-input object to be deactivated (typically when the + Requests the text_input object to be deactivated (typically when the text entry lost focus). The seat argument is a wl_seat which was used for activation. @@ -201,7 +201,7 @@ - Notify the text-input object when it received focus. Typically in + Notify the text_input object when it received focus. Typically in response to an activate request. @@ -209,7 +209,7 @@ - Notify the text-input object when it lost focus. Either in response + Notify the text_input object when it lost focus. Either in response to a deactivate request or when the assigned surface lost focus or was destroyed. @@ -371,12 +371,12 @@ - A factory for text-input objects. This object is a global singleton. + A factory for text_input objects. This object is a global singleton. - Creates a new text-input object. + Creates a new text_input object. -- cgit v1.2.3