text: Add reset requets to protocol
authorJan Arne Petersen <jpetersen@openismus.com>
Sun, 9 Sep 2012 21:08:46 +0000 (23:08 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 12 Sep 2012 20:52:53 +0000 (16:52 -0400)
commitc1e481efb145ef0a1fa6ecd30c2b75cddb636006
tree70e4240eb958d7c75d6e0dd5658c14fad8ec9a3b
parentce8a4433f53feb2db8e9e9e0a06dda4e28156faf
text: Add reset requets to protocol

Add a reset request to the text_model interface and a reset event to the
input_method_context interface. Use it to reset the pre-edit buffers in
the example keyboard when the cursor is moved in the example editor
client.

Signed-off-by: Jan Arne Petersen <jpetersen@openismus.com>
clients/editor.c
clients/keyboard.c
protocol/input-method.xml
protocol/text.xml
src/text-backend.c