e829adc514
Add a wl_seat argument to the activate and deactivate requests of text_method. On activation a text_model gets assigned to the input_method of the wl_seat specified in the activate request.
60 lines
1.8 KiB
XML
60 lines
1.8 KiB
XML
<protocol name="text">
|
|
<interface name="text_model" version="1">
|
|
<request name="set_surrounding_text">
|
|
<arg name="text" type="string"/>
|
|
</request>
|
|
<request name="set_cursor_index">
|
|
<arg name="index" type="uint"/>
|
|
</request>
|
|
<request name="activate">
|
|
<arg name="seat" type="object" interface="wl_seat"/>
|
|
<arg name="surface" type="object" interface="wl_surface"/>
|
|
</request>
|
|
<request name="deactivate">
|
|
<arg name="seat" type="object" interface="wl_seat"/>
|
|
</request>
|
|
<request name="set_selected_text">
|
|
<arg name="text" type="string"/>
|
|
<arg name="index" type="int"/>
|
|
</request>
|
|
<request name="set_micro_focus">
|
|
<arg name="x" type="int"/>
|
|
<arg name="y" type="int"/>
|
|
<arg name="width" type="int"/>
|
|
<arg name="height" type="int"/>
|
|
</request>
|
|
<request name="set_preedit"/>
|
|
<request name="set_content_type"/>
|
|
|
|
<event name="commit_string">
|
|
<arg name="text" type="string"/>
|
|
<arg name="index" type="uint"/>
|
|
</event>
|
|
<event name="preedit_string">
|
|
<arg name="text" type="string"/>
|
|
<arg name="index" type="uint"/>
|
|
</event>
|
|
<event name="preedit_styling"/>
|
|
<event name="key"/>
|
|
<event name="selection_replacement"/>
|
|
<event name="direction"/>
|
|
<event name="locale"/>
|
|
<event name="activated"/>
|
|
<event name="deactivated"/>
|
|
</interface>
|
|
|
|
<interface name="text_model_factory" version="1">
|
|
<request name="create_text_model">
|
|
<arg name="id" type="new_id" interface="text_model"/>
|
|
<arg name="surface" type="object" interface="wl_surface"/>
|
|
</request>
|
|
</interface>
|
|
|
|
<interface name="input_method" version="1">
|
|
<request name="commit_string">
|
|
<arg name="text" type="string"/>
|
|
<arg name="index" type="uint"/>
|
|
</request>
|
|
</interface>
|
|
</protocol>
|