[PATCH RFC] Add language and text-direction to text protocol

Jan Arne Petersen jpetersen at openismus.com
Thu Jan 31 08:44:02 PST 2013


From: Jan Arne Petersen <jpetersen at openismus.com>

The proposed API allows to send the language and text-direction for
inserted text from an input-method to an application.

It also allows an application to specify a preferred language for
the input. This could be used by an application to set a language
by context or to request the last used language after an input 
entry regains focus.

Comments welcome.

Jan Arne Petersen (1):
  text: Add language and text-direction to protocol

 clients/editor.c           | 20 ++++++++++++++++-
 clients/keyboard.c         | 54 ++++++++++++++++++++++++++--------------------
 clients/weston-simple-im.c | 54 ++++++++++++++++++++++++++--------------------
 protocol/input-method.xml  | 11 ++++++++++
 protocol/text.xml          | 28 ++++++++++++++++++++++++
 src/text-backend.c         | 46 +++++++++++++++++++++++++++++++++++++--
 6 files changed, 164 insertions(+), 49 deletions(-)

-- 
1.8.1



More information about the wayland-devel mailing list