[PATCH 0/3] Introduce input_method_context interface

Jan Arne Petersen jpetersen at openismus.com
Tue Aug 14 14:34:41 PDT 2012


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

Add an input_method_context interface which represents a text_model on
input_method side. An input_method can get assigned different text_models
during its life-time. The input_method_context makes it possible to
interact with a well-defined text_model also when a new text_model gets
assigned to a input_method (on focus change).

There is also some cleanup in create_text_model and the text_model_factory.

Jan Arne Petersen (2):
  text: Remove surface arg in create_text_model
  text: Introduce input_method_context interface

Philipp Brüschweiler (1):
  text: Have only one text_model_factory

 clients/editor.c   |   5 +-
 clients/keyboard.c |  38 +++++++++++-
 protocol/text.xml  |  16 ++++-
 src/compositor.c   |   1 +
 src/compositor.h   |   3 +
 src/text-backend.c | 178 ++++++++++++++++++++++++++++++++++++++++++-----------
 6 files changed, 198 insertions(+), 43 deletions(-)

-- 
1.7.11.4



More information about the wayland-devel mailing list