commit | cb08f4d844e9b85744c54a4d6e9179f44a27e3fc | [log] [tgz] |
---|---|---|
author | Jan Arne Petersen <jpetersen@openismus.com> | Sun Sep 09 23:08:40 2012 +0200 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Wed Sep 12 16:38:00 2012 -0400 |
tree | 5bfc301a1bea6ebf950b7be440821fbc15af7ebe | |
parent | c1fbcb7c38f026cca8b14c1316a311c59a8d73e9 [diff] |
text: Fix set_surrounding_text request Add cursor and anchor positions as arguments to the set_surrounding_text request. The cursor and anchor positions are relative to the surrounded text, so it does not make sense to have that separate. Remove the separate set_cursor_index and set_selected_text requests. Also update the corresponding event in input-method-context and add support for it in the weston example keyboard. Signed-off-by: Jan Arne Petersen <jpetersen@openismus.com>