mirror of
https://gitlab.freedesktop.org/xorg/proto/xcbproto.git
synced 2026-05-03 15:57:58 +02:00
The Xinerama extension 1.1.
This commit is contained in:
parent
790dd5c68b
commit
01c0c9eda8
2 changed files with 100 additions and 0 deletions
|
|
@ -16,7 +16,9 @@ xcbinclude_HEADERS = \
|
|||
extensions/sync.xml \
|
||||
extensions/xc_misc.xml \
|
||||
extensions/xevie.xml \
|
||||
extensions/xinerama.xml \
|
||||
extensions/xf86dri.xml \
|
||||
extensions/xf86vidmode.xml \
|
||||
extensions/xfixes.xml \
|
||||
extensions/xprint.xml \
|
||||
extensions/xtest.xml \
|
||||
|
|
|
|||
98
src/extensions/xinerama.xml
Normal file
98
src/extensions/xinerama.xml
Normal file
|
|
@ -0,0 +1,98 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2006 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
|
||||
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.
|
||||
-->
|
||||
|
||||
<xcb header="xinerama" extension-xname="XINERAMA" extension-name="Xinerama">
|
||||
|
||||
<!-- Version 1.1 -->
|
||||
|
||||
<import>xproto</import>
|
||||
|
||||
<struct name="ScreenInfo">
|
||||
<field type="INT16" name="x_org" />
|
||||
<field type="INT16" name="y_org" />
|
||||
<field type="CARD16" name="width" />
|
||||
<field type="CARD16" name="height" />
|
||||
</struct>
|
||||
|
||||
<request name="QueryVersion" opcode="0">
|
||||
<field type="CARD8" name="major" />
|
||||
<field type="CARD8" name="minor" />
|
||||
<reply>
|
||||
<pad bytes="1" />
|
||||
<field type="CARD16" name="major" />
|
||||
<field type="CARD16" name="minor" />
|
||||
</reply>
|
||||
</request>
|
||||
|
||||
<request name="GetState" opcode="1">
|
||||
<field type="WINDOW" name="window" />
|
||||
<reply>
|
||||
<field type="BYTE" name="state" />
|
||||
<field type="WINDOW" name="window" />
|
||||
</reply>
|
||||
</request>
|
||||
|
||||
<request name="GetScreenCount" opcode="2">
|
||||
<field type="WINDOW" name="window" />
|
||||
<reply>
|
||||
<field type="BYTE" name="screen_count" />
|
||||
<field type="WINDOW" name="window" />
|
||||
</reply>
|
||||
</request>
|
||||
|
||||
<request name="GetScreenSize" opcode="3">
|
||||
<field type="WINDOW" name="window" />
|
||||
<field type="SCREEN" name="screen" />
|
||||
<reply>
|
||||
<pad bytes="1" />
|
||||
<field type="CARD32" name="width" />
|
||||
<field type="CARD32" name="height" />
|
||||
<field type="WINDOW" name="window" />
|
||||
<field type="SCREEN" name="screen" />
|
||||
</reply>
|
||||
</request>
|
||||
|
||||
<request name="IsActive" opcode="4">
|
||||
<reply>
|
||||
<pad bytes="1" />
|
||||
<field type="CARD32" name="state" />
|
||||
</reply>
|
||||
</request>
|
||||
|
||||
<request name="QueryScreens" opcode="5">
|
||||
<reply>
|
||||
<pad bytes="1" />
|
||||
<field type="CARD32" name="number" />
|
||||
<pad bytes="20" />
|
||||
<list type="ScreenInfo" name="screen_info">
|
||||
<fieldref>number</fieldref>
|
||||
</list>
|
||||
</reply>
|
||||
</request>
|
||||
|
||||
</xcb>
|
||||
Loading…
Add table
Reference in a new issue