diff options
author | Jan Arne Petersen <jpetersen@openismus.com> | 2013-01-31 15:52:20 +0100 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2013-02-15 17:07:03 -0500 |
commit | 0eabcaafaeeb8648fbe6a2196f34afbbfd18d65a (patch) | |
tree | 0657a670aa37bf321cec11bb145da4ba6259a96e /clients/editor.c | |
parent | f255165bd4cf7b571b7815331a13e3b178886d60 (diff) | |
download | weston-0eabcaafaeeb8648fbe6a2196f34afbbfd18d65a.tar.gz |
text: Add commit request
Allows for atomic state changes. Updated surrounding text, content type
and micro focus is taken into account all at once at commit.
Signed-off-by: Jan Arne Petersen <jpetersen@openismus.com>
Diffstat (limited to 'clients/editor.c')
-rw-r--r-- | clients/editor.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clients/editor.c b/clients/editor.c index 1eb8f118..5c072f21 100644 --- a/clients/editor.c +++ b/clients/editor.c @@ -558,6 +558,8 @@ text_entry_update(struct text_entry *entry) entry->text, entry->cursor, entry->anchor); + + text_model_commit(entry->model); } static void |