editor: Remove preedit text on startup
authorJan Arne Petersen <jpetersen@openismus.com>
Mon, 5 Nov 2012 02:26:41 +0000 (03:26 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 8 Nov 2012 19:26:43 +0000 (14:26 -0500)
There should not be preedit text when a text entry does not have focus.

Signed-off-by: Jan Arne Petersen <jpetersen@openismus.com>
clients/editor.c

index 42c1aec..348041c 100644 (file)
@@ -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");