Fix XKB GetState missing lookupMods field
[free-sw/xcb/proto] / src / xtest.xml
index 72adf0b..7f0b262 100644 (file)
@@ -26,7 +26,8 @@ sale, use or other dealings in this Software without prior written
 authorization from the authors.
 -->
 
-<xcb header="xtest" extension-xname="XTEST" extension-name="Test">
+<xcb header="xtest" extension-xname="XTEST" extension-name="Test"
+    major-version="2" minor-version="1">
     <!-- Conforms to XTEST 2.1 -->
 
     <import>xproto</import>
@@ -65,7 +66,7 @@ authorization from the authors.
             3. Simulate mouse motion:
                 type   = XCBMotionNotify
                 detail = 0 or 1
-                window = XCBNone or a root window id
+                root = XCBNone or a root window id
                 rootX,
                 rootY  = position (relative if detail==1)
 
@@ -85,10 +86,10 @@ authorization from the authors.
         <field type="BYTE"   name="detail" />
         <pad bytes="2" />
         <field type="CARD32" name="time" />
-        <field type="WINDOW" name="window" />
+        <field type="WINDOW" name="root" />
         <pad bytes="8" />
-        <field type="CARD16" name="rootX" />
-        <field type="CARD16" name="rootY" />
+        <field type="INT16" name="rootX" />
+        <field type="INT16" name="rootY" />
         <pad bytes="7" />
         <!-- Version 2.2: XInput device -->
         <field type="CARD8"  name="deviceid" />
@@ -102,4 +103,4 @@ authorization from the authors.
     
     <!-- No events or errors -->
 
-</xcb>
\ No newline at end of file
+</xcb>