[PATCH weston 0/2] input-method: Make wl_input_method_context reactivatable

Daiki Ueno ueno at gnu.org
Wed Feb 26 01:21:03 PST 2014


While going through input-method.xml, I encountered this:

       Input method contexts do not keep state after deactivation and
       should be destroyed after deactivation is handled.

This limitation seems a bit innatural, since the counterpart
wl_text_input object can persist after deactivation.  Also, that makes
it difficult to implement an input method that supports multiple
languages and switches them depending on focused context[1].

I'm proposing a change regarding this.  The first patch is a set of
trivial typo fixes found before working on this.  The second one is an
RFC patch to allow multiple activation/deactivation of an input method
context.  Comments would be appreciated.

Daiki Ueno (2):
  input-method: Fix typo in description
  input-method: Make wl_input_method_context reactivatable

 clients/editor.c          |   2 -
 clients/keyboard.c        |  54 +++++++------
 protocol/input-method.xml |  40 +++++-----
 src/text-backend.c        | 187 ++++++++++++++++++++++------------------------
 4 files changed, 142 insertions(+), 141 deletions(-)


Footnotes: 
[1]  https://bugzilla.gnome.org/show_bug.cgi?id=684210

-- 
1.9.0.rc3



More information about the wayland-devel mailing list