diff options
author | Jan Arne Petersen <jpetersen@openismus.com> | 2012-08-10 16:47:22 +0200 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2012-08-10 13:00:52 -0400 |
commit | e829adc514a33d09e0436ab585d5e2aa6d83c806 (patch) | |
tree | 035ce9c711d56066d37ec793e1785d725f968e7f /protocol/text.xml | |
parent | de3b6a15c0267b3c1b52160b4d87dc63c2d5338a (diff) |
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.
Diffstat (limited to 'protocol/text.xml')
-rw-r--r-- | protocol/text.xml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/protocol/text.xml b/protocol/text.xml index ac12a1ab..e73cacbf 100644 --- a/protocol/text.xml +++ b/protocol/text.xml @@ -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"/> |