From: Jan Arne Petersen <jpeter...@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(-) -- 1.7.11.2 _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel