[PATCH 0/3] Add support for invoke_action request to text protocol

Jan Arne Petersen jpetersen at openismus.com
Mon Dec 3 14:10:55 PST 2012


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

Add invoke_action request to text protocol. Called by the client when the word
currently being composed is tapped by the user. Input methods often use this
information to offer more word suggestions to the user.

Also add support to the example editor client and keyboard (just set the
pre-edit cursor to the clicked location inside the composing word).

Jan Arne Petersen (3):
  text: add support for invoke_action request
  editor: add support for invoke_action
  keyboard: add support for invoke_action

 clients/editor.c          | 52 +++++++++++++++++++++++++++++++++++++----------
 clients/keyboard.c        | 32 +++++++++++++++++++++++------
 protocol/input-method.xml |  4 ++++
 protocol/text.xml         |  4 ++++
 src/text-backend.c        | 19 ++++++++++++++++-
 5 files changed, 93 insertions(+), 18 deletions(-)

-- 
1.7.11.7



More information about the wayland-devel mailing list