Store the input device in the touch extension
[profile/ivi/qtwayland.git] / extensions / xcomposite.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <protocol name="xcomposite">
3   <!-- XComposite support. This object is created by the server and published
4        using the display's global event. -->
5     <copyright>
6  Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
7  Contact: http://www.qt-project.org/
8
9  This file is part of the plugins of the Qt Toolkit.
10
11  $QT_BEGIN_LICENSE:BSD$
12  You may use this file under the terms of the BSD license as follows:
13
14  "Redistribution and use in source and binary forms, with or without
15  modification, are permitted provided that the following conditions are
16  met:
17    * Redistributions of source code must retain the above copyright
18      notice, this list of conditions and the following disclaimer.
19    * Redistributions in binary form must reproduce the above copyright
20      notice, this list of conditions and the following disclaimer in
21      the documentation and/or other materials provided with the
22      distribution.
23    * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
24      the names of its contributors may be used to endorse or promote
25      products derived from this software without specific prior written
26      permission.
27
28  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
29  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
30  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
31  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
32  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
33  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
34  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
35  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
36  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
37  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
38  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
39
40  $QT_END_LICENSE$
41     </copyright>
42   <interface name="wl_xcomposite" version="1">
43
44     <!-- Create a wayland buffer for X Window. -->
45     <request name="create_buffer">
46       <arg name="id" type="new_id" interface="wl_buffer"/>
47       <arg name="x_window" type="uint"/>
48       <arg name="width" type="int"/>
49       <arg name="height" type="int"/>
50     </request>
51
52     <!-- Notification of the root window to use for the X Window created
53          on the client side. Also passes in the Display name to use -->
54     <event name="root">
55       <arg name="display_name" type="string"/>
56       <arg name="root_window" type="uint"/>
57     </event>
58
59   </interface>
60
61 </protocol>