[Xcb-commit] Branch 'xspec' - xcb-proto
Alp Toker
alp at kemper.freedesktop.org
Wed May 3 21:15:09 PDT 2006
xcb-proto/src/extensions/xtest.xml | 66 +++++++++++++++++++++++++++++++++++++
1 files changed, 66 insertions(+)
New commits:
diff-tree 6d17292961ed1459ce6ca1cfaf4bf0e471d2a533 (from f7b24a2d30d04b77b1b861d327887a2fd98ba1ad)
Author: Alp Toker <alp at atoker.com>
Date: Thu May 4 05:14:55 2006 +0100
Implement XTest extension
Based on XCB's implementation by Ian Osgood <iano at quirkster.com> and
xteststr.h
diff --git a/xcb-proto/src/extensions/xtest.xml b/xcb-proto/src/extensions/xtest.xml
new file mode 100644
index 0000000..de32100
--- /dev/null
+++ b/xcb-proto/src/extensions/xtest.xml
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+Copyright (C) 2006 Ian Osgood
+Copyright (C) 2006 Alp Toker
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+Except as contained in this notice, the names of the authors or their
+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.
+-->
+<extension header="xtest" xname="XTEST" name="Test" version="2.2">
+ <request name="GetVersion" number="0">
+ <field type="CARD8" name="major-version" />
+ <pad bytes="1" />
+ <field type="CARD16" name="minor-version" />
+ <reply>
+ <field type="CARD8" name="major-version" />
+ <field type="CARD16" name="minor-version" />
+ </reply>
+ </request>
+ <enum name="Cursor">
+ <item name="none" />
+ <item name="current" />
+ </enum>
+ <request name="CompareCursor" number="1">
+ <field type="Window" name="window" />
+ <field type="Cursor" name="cursor" />
+ <reply>
+ <field type="bool" name="same" />
+ </reply>
+ </request>
+ <request name="FakeInput" number="2">
+ <field type="byte" name="type" />
+ <field type="byte" name="detail" />
+ <pad bytes="2" />
+ <field type="Time" name="time" />
+ <field type="Window" name="window" />
+ <pad bytes="8" />
+ <field type="Point" name="root" />
+ <pad bytes="7" />
+ <!-- Version 2.2: XInput device -->
+ <field type="CARD8" name="device-id" />
+ <!-- Version 2.2: optional axes state here -->
+ </request>
+ <request name="GrabControl" number="3">
+ <field type="bool" name="impervious" />
+ <pad bytes="3" />
+ </request>
+</extension>
More information about the xcb-commit
mailing list