2 # /****************************************************************************
4 # ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
5 # ** Contact: Nokia Corporation (qt-info@nokia.com)
7 # ** This file is part of qt-compositor.
9 # ****************************************************************************/
11 <protocol name="sub_surface_extension">
14 Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
16 Contact: Nokia Corporation (qt-info@nokia.com)
18 This file is part of the plugins of the Qt Toolkit.
20 $QT_BEGIN_LICENSE:LGPL$
21 GNU Lesser General Public License Usage
22 This file may be used under the terms of the GNU Lesser General Public
23 License version 2.1 as published by the Free Software Foundation and
24 appearing in the file LICENSE.LGPL included in the packaging of this
25 file. Please review the following information to ensure the GNU Lesser
26 General Public License version 2.1 requirements will be met:
27 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
29 In addition, as a special exception, Nokia gives you certain additional
30 rights. These rights are described in the Nokia Qt LGPL Exception
31 version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
33 GNU General Public License Usage
34 Alternatively, this file may be used under the terms of the GNU General
35 Public License version 3.0 as published by the Free Software Foundation
36 and appearing in the file LICENSE.GPL included in the packaging of this
37 file. Please review the following information to ensure the GNU General
38 Public License version 3.0 requirements will be met:
39 http://www.gnu.org/copyleft/gpl.html.
42 Alternatively, this file may be used in accordance with the terms and
43 conditions contained in a signed written agreement between you and Nokia.
52 <interface name="wl_sub_surface_extension" version="1">
53 <request name="get_sub_surface_aware_surface">
54 <arg name="id" type="new_id" interface="wl_sub_surface"/>
55 <arg name="surface" type="object" interface="wl_surface"/>
59 <interface name="wl_sub_surface" version="1">
60 <request name="attach_sub_surface">
61 <arg name="sub_surface" type="object" interface="wl_sub_surface"/>
62 <arg name="x" type="int"/>
63 <arg name="y" type="int"/>
66 <request name="move_sub_surface">
67 <arg name="sub_surface" type="object" interface="wl_sub_surface"/>
68 <arg name="x" type="int"/>
69 <arg name="y" type="int"/>
72 <request name="raise">
73 <arg name="sub_surface" type="object" interface="wl_sub_surface"/>
76 <request name="lower">
77 <arg name="sub_surface" type="object" interface="wl_sub_surface"/>