text: Assign text_model to a wl_seat

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.
This commit is contained in:
Jan Arne Petersen
2012-08-10 16:47:22 +02:00
committed by Kristian Høgsberg
parent de3b6a15c0
commit e829adc514
5 changed files with 75 additions and 40 deletions
+7 -2
View File
@@ -6,8 +6,13 @@
<request name="set_cursor_index">
<arg name="index" type="uint"/>
</request>
<request name="activate"/>
<request name="deactivate"/>
<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"/>