diff options
author | onox <denkpadje@gmail.com> | 2021-01-03 19:52:39 +0100 |
---|---|---|
committer | onox <denkpadje@gmail.com> | 2021-01-05 19:37:16 +0100 |
commit | d10d18f3d49374d2e3eb96d63511f32795aab5f7 (patch) | |
tree | d756db773792bb9d9b33285afeb8dd14fdc2493f /unstable/text-input/text-input-unstable-v1.xml | |
parent | ab3c1d56822eaeb0b788242612c0006aef509647 (diff) |
text-input: Add enum attributes to various arguments
Signed-off-by: onox <denkpadje@gmail.com>
Diffstat (limited to 'unstable/text-input/text-input-unstable-v1.xml')
-rw-r--r-- | unstable/text-input/text-input-unstable-v1.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/unstable/text-input/text-input-unstable-v1.xml b/unstable/text-input/text-input-unstable-v1.xml index 29a217e..6ee2665 100644 --- a/unstable/text-input/text-input-unstable-v1.xml +++ b/unstable/text-input/text-input-unstable-v1.xml @@ -113,7 +113,7 @@ <arg name="anchor" type="uint"/> </request> - <enum name="content_hint"> + <enum name="content_hint" bitfield="true"> <description summary="content hint"> Content hint is a bitmask to allow to modify the behavior of the text input. @@ -166,8 +166,8 @@ default hints (auto completion, auto correction, auto capitalization) should be assumed. </description> - <arg name="hint" type="uint"/> - <arg name="purpose" type="uint"/> + <arg name="hint" type="uint" enum="content_hint" /> + <arg name="purpose" type="uint" enum="content_purpose" /> </request> <request name="set_cursor_rectangle"> @@ -271,7 +271,7 @@ </description> <arg name="index" type="uint"/> <arg name="length" type="uint"/> - <arg name="style" type="uint"/> + <arg name="style" type="uint" enum="preedit_style" /> </event> <event name="preedit_cursor"> @@ -365,7 +365,7 @@ direction text is laid out properly. </description> <arg name="serial" type="uint" summary="serial of the latest known text input state"/> - <arg name="direction" type="uint"/> + <arg name="direction" type="uint" enum="text_direction" /> </event> </interface> |