[PATCH 03/15] editor: Remove preedit text on startup

Jan Arne Petersen jpetersen at openismus.com
Sun Nov 4 18:26:41 PST 2012


From: Jan Arne Petersen <jpetersen at openismus.com>

There should not be preedit text when a text entry does not have focus.

Signed-off-by: Jan Arne Petersen <jpetersen at openismus.com>
---
 clients/editor.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/clients/editor.c b/clients/editor.c
index 42c1aec..348041c 100644
--- a/clients/editor.c
+++ b/clients/editor.c
@@ -938,7 +938,6 @@ main(int argc, char *argv[])
 
 	editor.entry = text_entry_create(&editor, "Entry");
 	editor.editor = text_entry_create(&editor, "Editor");
-	text_entry_set_preedit(editor.editor, "preedit", strlen("preedit"));
 
 	window_set_title(editor.window, "Text Editor");
 
-- 
1.7.11.7



More information about the wayland-devel mailing list