1 <?xml version="1.0" encoding="UTF-8"?>
2 <protocol name="wl_test">
5 Copyright © 2012 Intel Corporation
7 Permission to use, copy, modify, distribute, and sell this
8 software and its documentation for any purpose is hereby granted
9 without fee, provided that the above copyright notice appear in
10 all copies and that both that copyright notice and this permission
11 notice appear in supporting documentation, and that the name of
12 the copyright holders not be used in advertising or publicity
13 pertaining to distribution of the software without specific,
14 written prior permission. The copyright holders make no
15 representations about the suitability of this software for any
16 purpose. It is provided "as is" without express or implied
19 THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
20 SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
21 FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY
22 SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
23 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
24 AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
25 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
29 <interface name="wl_test" version="1">
30 <request name="move_surface">
31 <arg name="surface" type="object" interface="wl_surface"/>
32 <arg name="x" type="int"/>
33 <arg name="y" type="int"/>
35 <request name="move_pointer">
36 <arg name="x" type="int"/>
37 <arg name="y" type="int"/>
39 <request name="send_button">
40 <arg name="button" type="int"/>
41 <arg name="state" type="uint"/>
43 <request name="activate_surface">
44 <arg name="surface" type="object" interface="wl_surface" allow-null="true"/>
46 <request name="send_key">
47 <arg name="key" type="uint"/>
48 <arg name="state" type="uint"/>
50 <event name="pointer_position">
51 <arg name="x" type="fixed"/>
52 <arg name="y" type="fixed"/>
54 <request name="get_n_egl_buffers">
55 <!-- causes a n_egl_buffers event to be sent which reports how many
56 buffer objects are live for the client -->
58 <event name="n_egl_buffers">
59 <arg name="n" type="uint"/>