made changes to support new value-mask-pad field of valueparam structures
[free-sw/xcb/proto] / src / damage.xml
index 4e03057..378e3ac 100644 (file)
@@ -1,6 +1,8 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!--
-Copyright (C) 2004 Josh Triplett.  All Rights Reserved.
+Copyright (C) 2004 Josh Triplett
+Copyright (C) 2007 Jeremy Kolb
+All Rights Reserved.
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
@@ -24,9 +26,9 @@ institutions shall not be used in advertising or otherwise to promote the
 sale, use or other dealings in this Software without prior written
 authorization from the authors.
 -->
-<!-- This file describes version 1 of DAMAGE. -->
+<!-- This file describes version 1.1 of DAMAGE. -->
 <xcb header="damage" extension-xname="DAMAGE" extension-name="Damage"
-    major-version="1" minor-version="0">
+    major-version="1" minor-version="1">
   <import>xproto</import>
   <import>xfixes</import>
 
@@ -69,6 +71,11 @@ authorization from the authors.
     <field type="REGION" name="parts" />
   </request>
 
+  <request name="Add" opcode="4">
+    <field type="DRAWABLE" name="drawable" />
+    <field type="REGION" name="region" />
+  </request>
+
   <event name="Notify" number="0">
     <field type="CARD8"     name="level" /> <!-- ReportLevel -->
     <field type="DRAWABLE"  name="drawable" />