text: Add "none" preedit-style

Use "default" preedit style as default. "None" is used when the
composing text should look like non-composing text.

Signed-off-by: Jan Arne Petersen <jpetersen@openismus.com>
Jan Arne Petersen 12 years ago committed by Kristian Høgsberg
parent 78d00e45cc
commit 85ecaa5d75
  1. 2
      clients/keyboard.c
  2. 3
      protocol/text.xml

@ -233,8 +233,8 @@ static const struct layout arabic_layout = {
};
static const char *style_labels[] = {
"none",
"default",
"none",
"active",
"inactive",
"highlight",

@ -209,7 +209,8 @@
<arg name="commit" type="string"/>
</event>
<enum name="preedit_style">
<entry name="default" value="1"/>
<entry name="default" value="0" summary="default style for composing text"/>
<entry name="none" value="1" summary="style should be the same as in non-composing text"/>
<entry name="active" value="2"/>
<entry name="inactive" value="3"/>
<entry name="highlight" value="4"/>

Loading…
Cancel
Save