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 _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel