editor: Remove preedit text on startup

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

Signed-off-by: Jan Arne Petersen <jpetersen@openismus.com>
dev
Jan Arne Petersen 12 years ago committed by Kristian Høgsberg
parent 25f6db51f0
commit 8083e019cd
  1. 1
      clients/editor.c

@ -938,7 +938,6 @@ main(int argc, char *argv[])
editor.entry = text_entry_create(&editor, "Entry"); editor.entry = text_entry_create(&editor, "Entry");
editor.editor = text_entry_create(&editor, "Editor"); editor.editor = text_entry_create(&editor, "Editor");
text_entry_set_preedit(editor.editor, "preedit", strlen("preedit"));
window_set_title(editor.window, "Text Editor"); window_set_title(editor.window, "Text Editor");

Loading…
Cancel
Save