1 <?xml version="1.0" encoding="utf-8"?>
3 Copyright (C) 2004 Josh Triplett. All Rights Reserved.
5 Permission is hereby granted, free of charge, to any person obtaining a copy
6 of this software and associated documentation files (the "Software"), to deal
7 in the Software without restriction, including without limitation the rights
8 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 copies of the Software, and to permit persons to whom the Software is
10 furnished to do so, subject to the following conditions:
12 The above copyright notice and this permission notice shall be included in all
13 copies or substantial portions of the Software.
15 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
19 ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 Except as contained in this notice, the names of the authors or their
23 institutions shall not be used in advertising or otherwise to promote the
24 sale, use or other dealings in this Software without prior written
25 authorization from the authors.
27 <!-- This file describes version 0.3 of COMPOSITE. -->
28 <xcb header="composite" extension-xname="Composite" extension-name="Composite"
29 major-version="0" minor-version="4">
31 <import>xproto</import>
32 <import>xfixes</import>
34 <enum name="Redirect">
35 <item name="Automatic" />
36 <item name="Manual" />
39 <request name="QueryVersion" opcode="0">
40 <field type="CARD32" name="client_major_version" />
41 <field type="CARD32" name="client_minor_version" />
44 <field type="CARD32" name="major_version" />
45 <field type="CARD32" name="minor_version" />
50 <request name="RedirectWindow" opcode="1">
51 <field type="WINDOW" name="window" />
52 <field type="CARD8" name="update" enum="Redirect" />
56 <request name="RedirectSubwindows" opcode="2">
57 <field type="WINDOW" name="window" />
58 <field type="CARD8" name="update" enum="Redirect" />
62 <request name="UnredirectWindow" opcode="3">
63 <field type="WINDOW" name="window" />
64 <field type="CARD8" name="update" enum="Redirect" />
68 <request name="UnredirectSubwindows" opcode="4">
69 <field type="WINDOW" name="window" />
70 <field type="CARD8" name="update" enum="Redirect" />
74 <request name="CreateRegionFromBorderClip" opcode="5">
75 <field type="REGION" name="region" />
76 <field type="WINDOW" name="window" />
79 <request name="NameWindowPixmap" opcode="6">
80 <field type="WINDOW" name="window" />
81 <field type="PIXMAP" name="pixmap" />
84 <!-- new in version 0.3 -->
86 <request name="GetOverlayWindow" opcode="7">
87 <field type="WINDOW" name="window" />
90 <field type="WINDOW" name="overlay_win" />
95 <request name="ReleaseOverlayWindow" opcode="8">
96 <field type="WINDOW" name="window" />