[PATCH 0/5] Fix text_model/input_method wl_seat relation

Jan Arne Petersen jpetersen at openismus.com
Fri Aug 10 07:47:18 PDT 2012

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

Some smaller text_model related cleanups.

Add wl_seat and wl_surface arguments to the text_model_activate request.
Assign the text_model to the wl_seat and listen to focus change events
to deactivate the text_model when the wl_surface looses keyboard focus.

Jan Arne Petersen (5):
  text: Add missing callbacks for text_model events
  text: Rename text_model_manager to factory
  text: Add activate/deactivate events
  text: Assign text_model to a wl_seat
  text: Deactivate text_model on keyboard focus lost

 clients/editor.c   | 121 ++++++++++++++++++++++++++++++++++++----------
 protocol/text.xml  |  15 ++++--
 src/compositor.c   |   2 +-
 src/compositor.h   |   6 ++-
 src/text-backend.c | 137 +++++++++++++++++++++++++++++++++++++++--------------
 5 files changed, 215 insertions(+), 66 deletions(-)


More information about the wayland-devel mailing list