authorization from the authors.
-->
<!-- This file describes version 1.1 of the Shape extension. -->
-<xcb header="shape" extension-xname="SHAPE" extension-name="Shape">
+<xcb header="shape" extension-xname="SHAPE" extension-name="Shape" major-version="1" minor-version="1">
<import>xproto</import>
<typedef oldname="CARD8" newname="OP" />
</enum>
<event name="Notify" number="0">
- <field type="KIND" name="shape_kind" />
+ <field type="KIND" name="shape_kind" enum="SK" />
<field type="WINDOW" name="affected_window" />
<field type="INT16" name="extents_x" />
<field type="INT16" name="extents_y" />
<field type="CARD16" name="extents_height" />
<field type="TIMESTAMP" name="server_time" />
<field type="BOOL" name="shaped" />
+ <pad bytes="11" />
</event>
<request name="QueryVersion" opcode="0">
</request>
<request name="Rectangles" opcode="1">
- <field type="OP" name="operation" />
- <field type="KIND" name="destination_kind" />
- <field type="BYTE" name="ordering" />
+ <field type="OP" name="operation" enum="SO" />
+ <field type="KIND" name="destination_kind" enum="SK" />
+ <field type="BYTE" name="ordering" enum="ClipOrdering" />
<pad bytes="1" />
<field type="WINDOW" name="destination_window" />
<field type="INT16" name="x_offset" />
</request>
<request name="Mask" opcode="2">
- <field type="OP" name="operation" />
- <field type="KIND" name="destination_kind" />
+ <field type="OP" name="operation" enum="SO" />
+ <field type="KIND" name="destination_kind" enum="SK" />
<pad bytes="2" />
<field type="WINDOW" name="destination_window" />
<field type="INT16" name="x_offset" />
<field type="INT16" name="y_offset" />
- <field type="PIXMAP" name="source_bitmap" />
+ <field type="PIXMAP" name="source_bitmap" altenum="Pixmap" />
</request>
<request name="Combine" opcode="3">
- <field type="OP" name="operation" />
- <field type="KIND" name="destination_kind" />
- <field type="KIND" name="source_kind" />
+ <field type="OP" name="operation" enum="SO" />
+ <field type="KIND" name="destination_kind" enum="SK" />
+ <field type="KIND" name="source_kind" enum="SK" />
<pad bytes="1" />
<field type="WINDOW" name="destination_window" />
<field type="INT16" name="x_offset" />
</request>
<request name="Offset" opcode="4">
- <field type="KIND" name="destination_kind" />
+ <field type="KIND" name="destination_kind" enum="SK" />
<pad bytes="3" />
<field type="WINDOW" name="destination_window" />
<field type="INT16" name="x_offset" />
<request name="SelectInput" opcode="6">
<field type="WINDOW" name="destination_window" />
<field type="BOOL" name="enable" />
+ <pad bytes="3" />
</request>
<request name="InputSelected" opcode="7">
<request name="GetRectangles" opcode="8">
<field type="WINDOW" name="window" />
- <field type="KIND" name="source_kind" />
+ <field type="KIND" name="source_kind" enum="SK" />
+ <pad bytes="3" />
<reply>
- <field type="BYTE" name="ordering" />
+ <field type="BYTE" name="ordering" enum="ClipOrdering" />
<field type="CARD32" name="rectangles_len" />
+ <pad bytes="20" />
<list type="RECTANGLE" name="rectangles">
<fieldref>rectangles_len</fieldref>
</list>