Strip trailing whitespace from source files

Performed with: `git ls-files | xargs perl -i -p -e 's{[ \t]+$}{}'`

`git diff -w` & `git diff -b` show no diffs from this change

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/99>
This commit is contained in:
Alan Coopersmith 2025-08-02 14:39:03 -07:00
parent ce7786ebb9
commit f717637569
48 changed files with 183 additions and 183 deletions

View file

@ -5,18 +5,18 @@ software and its documentation for any purpose and without
fee is hereby granted, provided that the above copyright fee is hereby granted, provided that the above copyright
notice appear in all copies and that both that copyright notice appear in all copies and that both that copyright
notice and this permission notice appear in supporting notice and this permission notice appear in supporting
documentation, and that the name of Silicon Graphics not be documentation, and that the name of Silicon Graphics not be
used in advertising or publicity pertaining to distribution used in advertising or publicity pertaining to distribution
of the software without specific prior written permission. of the software without specific prior written permission.
Silicon Graphics makes no representation about the suitability Silicon Graphics makes no representation about the suitability
of this software for any purpose. It is provided "as is" of this software for any purpose. It is provided "as is"
without any express or implied warranty. without any express or implied warranty.
SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH
THE USE OR PERFORMANCE OF THIS SOFTWARE. THE USE OR PERFORMANCE OF THIS SOFTWARE.

View file

@ -1,5 +1,5 @@
Copyright (c) 2004, Sun Microsystems, Inc. Copyright (c) 2004, Sun Microsystems, Inc.
Permission to use, copy, modify, distribute, and sell this software and its Permission to use, copy, modify, distribute, and sell this software and its
documentation for any purpose is hereby granted without fee, provided that documentation for any purpose is hereby granted without fee, provided that
@ -12,7 +12,7 @@ all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
SUN MICROSYSTEMS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN SUN MICROSYSTEMS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR 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. CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View file

@ -4,14 +4,14 @@ Permission to use, copy, modify, distribute, and sell this software and
its documentation for any purpose is hereby granted without fee, provided its documentation for any purpose is hereby granted without fee, provided
that the above copyright notice appear in all copies and that both that that the above copyright notice appear in all copies and that both that
copyright notice and this permission notice appear in supporting copyright notice and this permission notice appear in supporting
documentation, and that the name of Network Computing Devices documentation, and that the name of Network Computing Devices
not be used in advertising or publicity pertaining to distribution not be used in advertising or publicity pertaining to distribution
of the software without specific, written prior permission. of the software without specific, written prior permission.
NETWORK COMPUTING DEVICES DISCLAIMs ALL WARRANTIES WITH REGARD TO NETWORK COMPUTING DEVICES DISCLAIMs ALL WARRANTIES WITH REGARD TO
THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS, IN NO EVENT SHALL NETWORK COMPUTING DEVICES BE LIABLE AND FITNESS, IN NO EVENT SHALL NETWORK COMPUTING DEVICES BE LIABLE
FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

View file

@ -14,7 +14,7 @@ SuSE DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL SuSE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL SuSE
BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Author: Keith Packard, SuSE, Inc. Author: Keith Packard, SuSE, Inc.

View file

@ -1,13 +1,13 @@
Copyright 1987, 1988, 1989, 1990, 1994 by Digital Equipment Corporation, Copyright 1987, 1988, 1989, 1990, 1994 by Digital Equipment Corporation,
Maynard, MA Maynard, MA
Permission to use, copy, modify, and distribute this software and its Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted, documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that provided that the above copyright notice appear in all copies and that
both that copyright notice and this permission notice appear in both that copyright notice and this permission notice appear in
supporting documentation, and that the name of Digital not be supporting documentation, and that the name of Digital not be
used in advertising or publicity pertaining to distribution of the used in advertising or publicity pertaining to distribution of the
software without specific, written prior permission. software without specific, written prior permission.
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL

View file

@ -59,7 +59,7 @@ NCD. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL NCD. IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL NCD.
BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
@ -104,14 +104,14 @@ all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES, INCLUDING, DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES, INCLUDING,
BUT NOT LIMITED TO CONSEQUENTIAL OR INCIDENTAL DAMAGES, OR OTHER LIABILITY, BUT NOT LIMITED TO CONSEQUENTIAL OR INCIDENTAL DAMAGES, OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR 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. IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Except as contained in this notice, the name of Digital Equipment Corporation Except as contained in this notice, the name of Digital Equipment Corporation
shall not be used in advertising or otherwise to promote the sale, use or other shall not be used in advertising or otherwise to promote the sale, use or other
dealings in this Software without prior written authorization from Digital dealings in this Software without prior written authorization from Digital
Equipment Corporation. Equipment Corporation.
@ -122,7 +122,7 @@ its documentation for any purpose is hereby granted without fee, provided
that the above copyright notice appear in all copies and that both that that the above copyright notice appear in all copies and that both that
copyright notice and this permission notice appear in supporting copyright notice and this permission notice appear in supporting
documentation, and that the name Network Computing Devices, Inc. not be documentation, and that the name Network Computing Devices, Inc. not be
used in advertising or publicity pertaining to distribution of this used in advertising or publicity pertaining to distribution of this
software without specific, written prior permission. software without specific, written prior permission.
THIS SOFTWARE IS PROVIDED `AS-IS'. NETWORK COMPUTING DEVICES, INC., THIS SOFTWARE IS PROVIDED `AS-IS'. NETWORK COMPUTING DEVICES, INC.,
@ -142,13 +142,13 @@ and Olivetti Research Limited, Cambridge, England.
All Rights Reserved All Rights Reserved
Permission to use, copy, modify, and distribute this software and its Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted, documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that provided that the above copyright notice appear in all copies and that
both that copyright notice and this permission notice appear in both that copyright notice and this permission notice appear in
supporting documentation, and that the names of Digital or Olivetti supporting documentation, and that the names of Digital or Olivetti
not be used in advertising or publicity pertaining to distribution of the not be used in advertising or publicity pertaining to distribution of the
software without specific, written prior permission. software without specific, written prior permission.
DIGITAL AND OLIVETTI DISCLAIM ALL WARRANTIES WITH REGARD TO THIS DIGITAL AND OLIVETTI DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
@ -170,8 +170,8 @@ documentation, and that the name of Hewlett-Packard not be used in
advertising or publicity pertaining to distribution of the advertising or publicity pertaining to distribution of the
software without specific, written prior permission. software without specific, written prior permission.
Hewlett-Packard makes no representations about the Hewlett-Packard makes no representations about the
suitability of this software for any purpose. It is provided suitability of this software for any purpose. It is provided
"as is" without express or implied warranty. "as is" without express or implied warranty.
This software is not subject to any license of the American This software is not subject to any license of the American

View file

@ -1,6 +1,6 @@
prefix=@prefix@ prefix=@prefix@
includedir=@includedir@ includedir=@includedir@
Name: AppleWMProto Name: AppleWMProto
Description: AppleWM extension headers Description: AppleWM extension headers
Version: 1.4.2 Version: 1.4.2

View file

@ -1,6 +1,6 @@
prefix=@prefix@ prefix=@prefix@
includedir=@includedir@ includedir=@includedir@
Name: BigReqsProto Name: BigReqsProto
Description: BigReqs extension headers Description: BigReqs extension headers
Version: 1.1.2 Version: 1.1.2

View file

@ -190,8 +190,8 @@ operations other than QueryVersion.
errors: Window, Access, Match errors: Window, Access, Match
The hierarchy starting at 'window' is directed to off-screen The hierarchy starting at 'window' is directed to off-screen
storage. 'update' specifies whether the contents are mirrored to storage. 'update' specifies whether the contents are mirrored to
the parent window automatically or not. Only one client may specify the parent window automatically or not. Only one client may specify
an update type of Manual, another attempt will result in an an update type of Manual, another attempt will result in an
Access error. When all clients enabling redirection terminate, Access error. When all clients enabling redirection terminate,
the redirection will automatically be disabled. the redirection will automatically be disabled.
@ -281,17 +281,17 @@ operations other than QueryVersion.
overlayWin: Window overlayWin: Window
This request returns the XID of the Composite Overlay Window for This request returns the XID of the Composite Overlay Window for
the screen specified by the argument 'window'. This request the screen specified by the argument 'window'. This request
indicates that the client wishes to use the Composite Overlay indicates that the client wishes to use the Composite Overlay
Window of this screen. If this Composite Overlay Window has not Window of this screen. If this Composite Overlay Window has not
yet been mapped, it is mapped by this request. yet been mapped, it is mapped by this request.
The Composite Overlay Window for a particular screen will be The Composite Overlay Window for a particular screen will be
unmapped when all clients who have invoked this request have unmapped when all clients who have invoked this request have
also invoked CompositeReleaseOverlayWindow for that screen. Also, also invoked CompositeReleaseOverlayWindow for that screen. Also,
CompositeReleaseOverlayWindow for a screen will be implicitly CompositeReleaseOverlayWindow for a screen will be implicitly
called when a client using the Composite Overlay Window on that called when a client using the Composite Overlay Window on that
screen terminates its X11 connection. screen terminates its X11 connection.
@ -299,7 +299,7 @@ operations other than QueryVersion.
window: Window window: Window
This request specifies that the client is no longer using the This request specifies that the client is no longer using the
Composite Overlay Window on the screen specified by the Composite Overlay Window on the screen specified by the
argument 'window'. A screen's Composite Overlay Window is argument 'window'. A screen's Composite Overlay Window is
unmapped when there are no longer any clients using it. unmapped when there are no longer any clients using it.

View file

@ -2,7 +2,7 @@
Protocol Version 1.1 Protocol Version 1.1
Document Revision 1 Document Revision 1
2007-01-08 2007-01-08
Keith Packard Keith Packard
keithp@keithp.com keithp@keithp.com
@ -24,7 +24,7 @@ As usual, the author had significant input from many people, in particular:
+ Havoc Pennington who designed and implemented a Damage extension + Havoc Pennington who designed and implemented a Damage extension
last year which was then lost to the mists of time. last year which was then lost to the mists of time.
+ Bill Haneman whose work on accessibility in the Gnome environment + Bill Haneman whose work on accessibility in the Gnome environment
is legendary. is legendary.
@ -98,7 +98,7 @@ Damage
6. Types 6. Types
DAMAGE 32-bit value (top three bits guaranteed to be zero) DAMAGE 32-bit value (top three bits guaranteed to be zero)
DamageReportLevel { DamageReportRawRectangles, DamageReportLevel { DamageReportRawRectangles,
DamageReportDeltaRectangles, DamageReportDeltaRectangles,
DamageReportBoundingBox, DamageReportBoundingBox,
@ -179,7 +179,7 @@ DamageCreate
damage: DAMAGE damage: DAMAGE
drawable: Drawable drawable: Drawable
level: DamageReportLevel level: DamageReportLevel
Creates a damage object to monitor changes to Drawable Creates a damage object to monitor changes to Drawable
DamageDestroy DamageDestroy
@ -199,9 +199,9 @@ DamageSubtract
1) if parts is not None, parts = damage 1) if parts is not None, parts = damage
2) damage = <empty> 2) damage = <empty>
Otherwise: Otherwise:
1) tmp = damage INTERSECT repair 1) tmp = damage INTERSECT repair
2) damage = damage - tmp 2) damage = damage - tmp
3) if parts is not None, parts = tmp 3) if parts is not None, parts = tmp

View file

@ -1,6 +1,6 @@
prefix=@prefix@ prefix=@prefix@
includedir=@includedir@ includedir=@includedir@
Name: DMXProto Name: DMXProto
Description: DMX extension headers Description: DMX extension headers
Version: 2.3.1 Version: 2.3.1

View file

@ -1,6 +1,6 @@
prefix=@prefix@ prefix=@prefix@
includedir=@includedir@ includedir=@includedir@
Name: DRI2Proto Name: DRI2Proto
Description: DRI2 extension headers Description: DRI2 extension headers
Version: 2.8 Version: 2.8

View file

@ -1,7 +1,7 @@
The DRI2 Extension The DRI2 Extension
Version 2.0 Version 2.0
2008-09-04 2008-09-04
Kristian Høgsberg Kristian Høgsberg
krh@redhat.com krh@redhat.com
Red Hat, Inc Red Hat, Inc
@ -268,7 +268,7 @@ The name of this extension is "DRI2".
ISSUE: We could add the list of supported attachments and the ISSUE: We could add the list of supported attachments and the
supported DRI2CopyRegion values here (just the bitmask of all supported DRI2CopyRegion values here (just the bitmask of all
supported values). supported values).
┌─── ┌───
DRI2Authenticate DRI2Authenticate
window: WINDOW window: WINDOW
@ -289,7 +289,7 @@ The name of this extension is "DRI2".
DRI2GetBuffers DRI2GetBuffers
drawable: DRAWABLE drawable: DRAWABLE
attachments: LISTofDRI2ATTACHMENTS attachments: LISTofDRI2ATTACHMENTS
width, height: CARD32 width, height: CARD32
buffers: LISTofDRI2BUFFER buffers: LISTofDRI2BUFFER
└─── └───
@ -313,7 +313,7 @@ The name of this extension is "DRI2".
region: REGION region: REGION
source: DRI2ATTACHMENT source: DRI2ATTACHMENT
destination: DRI2ATTACHMENT destination: DRI2ATTACHMENT
└─── └───
Errors: Window, Value Errors: Window, Value
@ -650,7 +650,7 @@ A.2 Protocol Requests
4 0 reply length 4 0 reply length
4 CARD32 major version 4 CARD32 major version
4 CARD32 minor version 4 CARD32 minor version
16 unused 16 unused
└─── └───
┌─── ┌───
@ -687,7 +687,7 @@ A.2 Protocol Requests
2 CARD16 sequence number 2 CARD16 sequence number
4 0 reply length 4 0 reply length
4 CARD32 authenticated 4 CARD32 authenticated
20 unused 20 unused
└─── └───
┌─── ┌───
@ -698,7 +698,7 @@ A.2 Protocol Requests
4 DRAWABLE drawable 4 DRAWABLE drawable
4 n number of attachments 4 n number of attachments
4n LISTofDRI2ATTACHMENTS attachments 4n LISTofDRI2ATTACHMENTS attachments
1 1 Reply 1 1 Reply
1 unused 1 unused
2 CARD16 sequence number 2 CARD16 sequence number
@ -706,7 +706,7 @@ A.2 Protocol Requests
4 CARD32 width of drawable 4 CARD32 width of drawable
4 CARD32 height of drawable 4 CARD32 height of drawable
4 CARD32 buffer count 4 CARD32 buffer count
12 unused 12 unused
5n LISTofDRI2BUFFER buffers 5n LISTofDRI2BUFFER buffers
└─── └───
@ -719,12 +719,12 @@ A.2 Protocol Requests
4 REGION region 4 REGION region
4 DRI2ATTACHMENT source 4 DRI2ATTACHMENT source
4 DRI2ATTACHMENT destination 4 DRI2ATTACHMENT destination
1 1 Reply 1 1 Reply
1 unused 1 unused
2 CARD16 sequence number 2 CARD16 sequence number
4 0 reply length 4 0 reply length
24 unused 24 unused
└─── └───
┌─── ┌───
@ -743,7 +743,7 @@ A.2 Protocol Requests
4 CARD32 width of drawable 4 CARD32 width of drawable
4 CARD32 height of drawable 4 CARD32 height of drawable
4 CARD32 buffer count 4 CARD32 buffer count
12 unused 12 unused
5n LISTofDRI2BUFFER buffers 5n LISTofDRI2BUFFER buffers
└─── └───
@ -759,7 +759,7 @@ A.2 Protocol Requests
4 CARD32 divisor_lo 4 CARD32 divisor_lo
4 CARD32 remainder_hi 4 CARD32 remainder_hi
4 CARD32 remainder_lo 4 CARD32 remainder_lo
1 1 Reply 1 1 Reply
1 unused 1 unused
2 CARD16 sequence number 2 CARD16 sequence number

View file

@ -1,6 +1,6 @@
prefix=@prefix@ prefix=@prefix@
includedir=@includedir@ includedir=@includedir@
Name: DRI3Proto Name: DRI3Proto
Description: DRI3 extension headers Description: DRI3 extension headers
Version: 1.4 Version: 1.4

View file

@ -36,7 +36,7 @@ Arthur Huillet <arthur.huillet@free.fr>
Louis-Francis Ratté-Boulianne <lfrb@collabora.com> Louis-Francis Ratté-Boulianne <lfrb@collabora.com>
Austin Shafer <ashafer@nvidia.com> Austin Shafer <ashafer@nvidia.com>
❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄
2. Data Types 2. Data Types
@ -44,25 +44,25 @@ The DRI3 extension uses the RandR extension Provider data type to
select among multiple GPUs on a single screen and the Sync extension select among multiple GPUs on a single screen and the Sync extension
fence object to provide graphics object synchronization. fence object to provide graphics object synchronization.
❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄
4. Errors 4. Errors
DRI3 defines no errors. DRI3 defines no errors.
❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄
5. Events 5. Events
DRI3 defines no events. DRI3 defines no events.
❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄
6. Protocol Types 6. Protocol Types
SYNCOBJ { XID } SYNCOBJ { XID }
❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄
7. Extension Initialization 7. Extension Initialization
@ -89,7 +89,7 @@ The name of this extension is "DRI3"
requests. requests.
❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄
8. Extension Requests 8. Extension Requests
@ -560,7 +560,7 @@ A.2 Protocol Requests
4 0 reply length 4 0 reply length
4 CARD32 major version 4 CARD32 major version
4 CARD32 minor version 4 CARD32 minor version
16 unused 16 unused
└─── └───
@ -571,7 +571,7 @@ A.2 Protocol Requests
2 4 length 2 4 length
4 DRAWABLE drawable 4 DRAWABLE drawable
4 PROVIDER provider 4 PROVIDER provider
1 1 Reply 1 1 Reply
1 1 nfd 1 1 nfd
2 CARD16 sequence number 2 CARD16 sequence number
@ -604,7 +604,7 @@ A.2 Protocol Requests
1 3 DRI3 opcode 1 3 DRI3 opcode
2 2 length 2 2 length
4 Pixmap pixmap 4 Pixmap pixmap
1 1 Reply 1 1 Reply
1 1 nfd 1 1 nfd
2 CARD16 sequence number 2 CARD16 sequence number
@ -640,7 +640,7 @@ A.2 Protocol Requests
2 3 length 2 3 length
4 Drawable drawable 4 Drawable drawable
4 Fence fence 4 Fence fence
1 1 Reply 1 1 Reply
1 1 nfd 1 1 nfd
2 CARD16 sequence number 2 CARD16 sequence number

View file

@ -23,7 +23,7 @@ developers, in particular,
+ Bill Haneman for the design for cursor image tracking. + Bill Haneman for the design for cursor image tracking.
+ Havoc Pennington + Havoc Pennington
+ Fredrik Höglund for cursor names + Fredrik Höglund for cursor names
@ -217,7 +217,7 @@ GetCursorImage
pixel followed by 8 bits each of red, green and finally 8 bits of pixel followed by 8 bits each of red, green and finally 8 bits of
blue in the least significant 8 bits. The color components are blue in the least significant 8 bits. The color components are
pre-multiplied with the alpha component. pre-multiplied with the alpha component.
************* XFIXES VERSION 2 OR BETTER *********** ************* XFIXES VERSION 2 OR BETTER ***********
8. Region Objects 8. Region Objects
@ -232,7 +232,7 @@ extension, the X Damage Extension.
Region: XID Region: XID
WINDOW_REGION_KIND: { Bounding, Clip } WINDOW_REGION_KIND: { Bounding, Clip }
8.2 Errors 8.2 Errors
Region The specified region is invalid Region The specified region is invalid
@ -316,7 +316,7 @@ CopyRegion
source: Region source: Region
destination: Region destination: Region
This replaces the contents of destination with the contents of This replaces the contents of destination with the contents of
source. source.
UnionRegion UnionRegion
@ -326,23 +326,23 @@ SubtractRegion
source1: Region source1: Region
source2: Region source2: Region
destination: Region destination: Region
Combines source1 and source2, placing the result in destination. Combines source1 and source2, placing the result in destination.
Destination may be the same as either source1 or source2. Destination may be the same as either source1 or source2.
Errors: Region, Value Errors: Region, Value
InvertRegion InvertRegion
source: Region source: Region
bounds: RECTANGLE bounds: RECTANGLE
destination: Region destination: Region
The source region is subtracted from the region specified by The source region is subtracted from the region specified by
bounds. The result is placed in destination, replacing its contents. bounds. The result is placed in destination, replacing its contents.
Errors: Region Errors: Region
TranslateRegion TranslateRegion
region: Region region: Region
@ -429,7 +429,7 @@ CursorNotify
cursor-serial: CARD32 cursor-serial: CARD32
timestamp: Timestamp timestamp: Timestamp
name: Atom or None name: Atom or None
In Version 2 of the XFIXES protocol, this event adds the atom In Version 2 of the XFIXES protocol, this event adds the atom
of any name associated with the current cursor (else None). of any name associated with the current cursor (else None).
@ -638,7 +638,7 @@ DestroyPointerBarrier
Destroys the named barrier. Destroys the named barrier.
Errors: Barrier Errors: Barrier
************* XFIXES VERSION 6 OR BETTER *********** ************* XFIXES VERSION 6 OR BETTER ***********

View file

@ -1,6 +1,6 @@
prefix=@prefix@ prefix=@prefix@
includedir=@includedir@ includedir=@includedir@
Name: FontcacheProto Name: FontcacheProto
Description: Fontcache extension headers Description: Fontcache extension headers
Version: 0.1.3 Version: 0.1.3

View file

@ -1,6 +1,6 @@
prefix=@prefix@ prefix=@prefix@
includedir=@includedir@ includedir=@includedir@
Name: FontsProto Name: FontsProto
Description: Fonts extension headers Description: Fonts extension headers
Version: 2.1.3 Version: 2.1.3

View file

@ -1,6 +1,6 @@
prefix=@prefix@ prefix=@prefix@
includedir=@includedir@ includedir=@includedir@
Name: GLProto Name: GLProto
Description: GL extension headers Description: GL extension headers
Version: 1.4.17 Version: 1.4.17

View file

@ -28,7 +28,7 @@ from The Open Group.
/* /*
* Copyright © 2005 Daniel Stone * Copyright © 2005 Daniel Stone
* *
* Permission to use, copy, modify, distribute, and sell this software and its * Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that * documentation for any purpose is hereby granted without fee, provided that
* the above copyright notice appear in all copies and that both that * the above copyright notice appear in all copies and that both that
@ -88,7 +88,7 @@ typedef long fd_mask;
#define howmany(x,y) (((x)+((y)-1))/(y)) #define howmany(x,y) (((x)+((y)-1))/(y))
#endif #endif
#if defined(BSD) && BSD < 198911 #if defined(BSD) && BSD < 198911
typedef struct fd_set { typedef struct fd_set {
fd_mask fds_bits[howmany(FD_SETSIZE, NFDBITS)]; fd_mask fds_bits[howmany(FD_SETSIZE, NFDBITS)];
} fd_set; } fd_set;
@ -120,7 +120,7 @@ typedef struct fd_set {
/* /*
* The howmany(FD_SETSIZE, NFDBITS) computes the number of elements in the * The howmany(FD_SETSIZE, NFDBITS) computes the number of elements in the
* array. before accessing an element in the array we check it exists. * array. before accessing an element in the array we check it exists.
* If it does not exist then the compiler discards the code to access it. * If it does not exist then the compiler discards the code to access it.
*/ */
#define XFD_ANYSET(p) \ #define XFD_ANYSET(p) \
((howmany(FD_SETSIZE, NFDBITS) > 0 && (__XFDS_BITS(p, 0))) || \ ((howmany(FD_SETSIZE, NFDBITS) > 0 && (__XFDS_BITS(p, 0))) || \
@ -155,7 +155,7 @@ typedef struct fd_set {
int __i__; \ int __i__; \
for (__i__ = 0; __i__ < howmany(FD_SETSIZE, NFDBITS); __i__++) \ for (__i__ = 0; __i__ < howmany(FD_SETSIZE, NFDBITS); __i__++) \
__XFDS_BITS((dst), __i__) = ((__XFDS_BITS((b1), __i__)) | (__XFDS_BITS((b2), __i__))); \ __XFDS_BITS((dst), __i__) = ((__XFDS_BITS((b1), __i__)) | (__XFDS_BITS((b2), __i__))); \
} }
#define XFD_UNSET(dst,b1) { \ #define XFD_UNSET(dst,b1) { \
int __i__; \ int __i__; \
for (__i__ = 0; __i__ < howmany(FD_SETSIZE, NFDBITS); __i__++) \ for (__i__ = 0; __i__ < howmany(FD_SETSIZE, NFDBITS); __i__++) \
@ -223,7 +223,7 @@ typedef struct fd_set {
XFD_FD(set,XFD_SETCOUNT(set)++)=(fd); \ XFD_FD(set,XFD_SETCOUNT(set)++)=(fd); \
} while(0) } while(0)
#define getdtablesize() FD_SETSIZE #define getdtablesize() FD_SETSIZE
#endif /* WIN32 */ #endif /* WIN32 */

View file

@ -121,19 +121,19 @@ SOFTWARE.
* 4. If none of the previous rules apply, an alias is *implicitly* * 4. If none of the previous rules apply, an alias is *implicitly*
* deprecated if there is at least one previous name for the * deprecated if there is at least one previous name for the
* corresponding keysym that is *not* explicitly deprecated. * corresponding keysym that is *not* explicitly deprecated.
* *
* Examples: * Examples:
* *
* // SingleCandidate is the canonical name * // SingleCandidate is the canonical name
* #define XK_SingleCandidate 0xff3c * #define XK_SingleCandidate 0xff3c
* // Hangul_SingleCandidate is deprecated because it is an alias * // Hangul_SingleCandidate is deprecated because it is an alias
* // and it does not start with "non-deprecated alias" * // and it does not start with "non-deprecated alias"
* #define XK_Hangul_SingleCandidate 0xff3c // Single candidate * #define XK_Hangul_SingleCandidate 0xff3c // Single candidate
* *
* // guillemotleft is the canonical name, but it is deprecated * // guillemotleft is the canonical name, but it is deprecated
* #define XK_guillemotleft 0x00ab // deprecated alias for guillemetleft (misspelling) * #define XK_guillemotleft 0x00ab // deprecated alias for guillemetleft (misspelling)
* // guillemetleft is not deprecated, because the keysym has no endorsed name before it. * // guillemetleft is not deprecated, because the keysym has no endorsed name before it.
* #define XK_guillemetleft 0x00ab // U+00AB LEFT-POINTING DOUBLE ANGLE QUOTATION MARK * #define XK_guillemetleft 0x00ab // U+00AB LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
* // The following hypothetical name is deprecated because guillemetleft come before. * // The following hypothetical name is deprecated because guillemetleft come before.
* #define XK_guillemetleft2 0x00ab * #define XK_guillemetleft2 0x00ab
* *

View file

@ -1,6 +1,6 @@
prefix=@prefix@ prefix=@prefix@
includedir=@includedir@ includedir=@includedir@
Name: InputProto Name: InputProto
Description: Input extension headers Description: Input extension headers
Version: 2.3.99.2 Version: 2.3.99.2

View file

@ -1,6 +1,6 @@
prefix=@prefix@ prefix=@prefix@
includedir=@includedir@ includedir=@includedir@
Name: KBProto Name: KBProto
Description: KB extension headers Description: KB extension headers
Version: 1.0.7 Version: 1.0.7

View file

@ -1,6 +1,6 @@
prefix=@prefix@ prefix=@prefix@
includedir=@includedir@ includedir=@includedir@
Name: Lg3dProto Name: Lg3dProto
Description: LGE extension headers Description: LGE extension headers
Version: 5.0 Version: 5.0

View file

@ -1,6 +1,6 @@
prefix=@prefix@ prefix=@prefix@
includedir=@includedir@ includedir=@includedir@
Name: PresentProto Name: PresentProto
Description: Present extension headers Description: Present extension headers
Version: 1.4 Version: 1.4

View file

@ -1,7 +1,7 @@
The Present Extension The Present Extension
Version 1.4 Version 1.4
2023-06-13 2023-06-13
Keith Packard Keith Packard
keithp@keithp.com keithp@keithp.com
Intel Corporation Intel Corporation
@ -26,7 +26,7 @@ Owen Taylor <otaylor@redhat.com>
James Jones <jajones@nvidia.com> James Jones <jajones@nvidia.com>
Louis-Francis Ratté-Boulianne <lfrb@collabora.com> Louis-Francis Ratté-Boulianne <lfrb@collabora.com>
❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄
2. Data Types 2. Data Types
@ -85,14 +85,14 @@ PRESENTEVENTTYPE { ...
PRESENTEVENTMASK { ... PRESENTEVENTMASK { ...
PresentSubredirectNotifyMask } PresentSubredirectNotifyMask }
❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄
3. Errors 3. Errors
EventID EventID
A value for an EventID argument does not name a defined EventID A value for an EventID argument does not name a defined EventID
❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄
5. Events 5. Events
@ -109,7 +109,7 @@ IdleNotify events inform clients when pixmaps are available for re-use.
RedirectNotify events inform clients about other clients PresentPixmap RedirectNotify events inform clients about other clients PresentPixmap
requests. requests.
❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄
6. Extension Initialization 6. Extension Initialization
@ -135,7 +135,7 @@ The name of this extension is "Present"
Backwards compatible changes include addition of new Backwards compatible changes include addition of new
requests. requests.
❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄
7. Extension Requests 7. Extension Requests
@ -187,7 +187,7 @@ The name of this extension is "Present"
and update-area are relative to the pixmap. and update-area are relative to the pixmap.
PresentPixmap will block until 'wait-fence' is triggered. PresentPixmap will block until 'wait-fence' is triggered.
When the X server has finished using 'pixmap' for this When the X server has finished using 'pixmap' for this
operation, it will send a PresentIdleNotify event and arrange operation, it will send a PresentIdleNotify event and arrange
for any 'idle-fence' to be triggered. This may be at any time for any 'idle-fence' to be triggered. This may be at any time
@ -211,10 +211,10 @@ The name of this extension is "Present"
the presentation will occur at (or after) the 'target-msc' the presentation will occur at (or after) the 'target-msc'
field. Otherwise, the presentation will occur after the next field. Otherwise, the presentation will occur after the next
field where msc % 'divisor' == 'remainder'. field where msc % 'divisor' == 'remainder'.
If 'target-crtc' is None, then the X server will choose a If 'target-crtc' is None, then the X server will choose a
suitable CRTC for synchronization. suitable CRTC for synchronization.
If 'options' contains PresentOptionAsync, and the 'target-msc' If 'options' contains PresentOptionAsync, and the 'target-msc'
is less than or equal to the current msc for 'window', then is less than or equal to the current msc for 'window', then
the operation will be performed as soon as possible, not the operation will be performed as soon as possible, not
@ -287,7 +287,7 @@ The name of this extension is "Present"
the event will be delivered at (or after) the 'target-msc' the event will be delivered at (or after) the 'target-msc'
field. Otherwise, the event delivery will occur after the next field. Otherwise, the event delivery will occur after the next
field where msc % 'divisor' == 'remainder'. field where msc % 'divisor' == 'remainder'.
If 'window' is destroyed before the event is delivered, then If 'window' is destroyed before the event is delivered, then
the event delivery will not be completed. the event delivery will not be completed.
@ -460,7 +460,7 @@ The name of this extension is "Present"
a time can select for PresentRedirect on a window. An attempt a time can select for PresentRedirect on a window. An attempt
to violate this restriction results in an Access error. to violate this restriction results in an Access error.
❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄
8. Extension Events 8. Extension Events
@ -489,7 +489,7 @@ The name of this extension is "Present"
it. PresentConfigureNotify events are XGE events and so do not it. PresentConfigureNotify events are XGE events and so do not
have a unique event type. have a unique event type.
'x' and 'y' are the parent-relative location of 'window'. 'x' and 'y' are the parent-relative location of 'window'.
┌─── ┌───
PresentCompleteNotify PresentCompleteNotify
@ -748,7 +748,7 @@ A.2 Protocol Requests
4 0 reply length 4 0 reply length
4 CARD32 major version 4 CARD32 major version
4 CARD32 minor version 4 CARD32 minor version
16 unused 16 unused
└─── └───
┌─── ┌───

View file

@ -1,6 +1,6 @@
prefix=@prefix@ prefix=@prefix@
includedir=@includedir@ includedir=@includedir@
Name: RandrProto Name: RandrProto
Description: Randr extension headers Description: Randr extension headers
Version: 1.6.0 Version: 1.6.0

View file

@ -137,7 +137,7 @@ be dynamically configured to provide support for:
1) Output slaving: plug in a USB device, but have its output rendered 1) Output slaving: plug in a USB device, but have its output rendered
using the main GPU. On some dual-GPU laptops, the second GPU isn't using the main GPU. On some dual-GPU laptops, the second GPU isn't
connected to the LVDS panel, so we need to use the first GPU as an output connected to the LVDS panel, so we need to use the first GPU as an output
slave for the second GPU. slave for the second GPU.
2) offload - For dual-GPU laptops, allow direct rendered applications to be run 2) offload - For dual-GPU laptops, allow direct rendered applications to be run
on the second GPU and display on the first GPU. on the second GPU and display on the first GPU.

View file

@ -1,6 +1,6 @@
prefix=@prefix@ prefix=@prefix@
includedir=@includedir@ includedir=@includedir@
Name: RecordProto Name: RecordProto
Description: Record extension headers Description: Record extension headers
Version: 1.14.2 Version: 1.14.2

View file

@ -80,11 +80,11 @@ To use this operator several additional values are required:
+ Whether the source should be reshaped with a projective + Whether the source should be reshaped with a projective
transformation, and if so, what filter to apply while transformation, and if so, what filter to apply while
resampling the data. resampling the data.
+ Whether the mask should be reshaped with a projective + Whether the mask should be reshaped with a projective
transformation, and if so, what filter to apply while transformation, and if so, what filter to apply while
resampling the data. resampling the data.
These parameters are variously attached to the operands or included in each These parameters are variously attached to the operands or included in each
rendering request. rendering request.
@ -144,21 +144,21 @@ PICTOP { Clear, Src, Dst, Over, OverReverse, In, InReverse,
ColorBurn, HardLight, SoftLight, Difference, Exclusion, ColorBurn, HardLight, SoftLight, Difference, Exclusion,
HSLHue, HSLSaturation, HSLColor, HSLLuminosity HSLHue, HSLSaturation, HSLColor, HSLLuminosity
} }
SUBPIXEL { Unknown, HorizontalRGB, HorizontalBGR, SUBPIXEL { Unknown, HorizontalRGB, HorizontalBGR,
VerticalRGB, VerticalBGR, None VerticalRGB, VerticalBGR, None
} }
COLOR [ COLOR [
red, green, blue, alpha: CARD16 red, green, blue, alpha: CARD16
] ]
CHANNELMASK [ CHANNELMASK [
shift, mask: CARD16 shift, mask: CARD16
] ]
DIRECTFORMAT [ DIRECTFORMAT [
red, green, blue, alpha: CHANNELMASK red, green, blue, alpha: CHANNELMASK
] ]
INDEXVALUE [ INDEXVALUE [
pixel: Pixel; pixel: Pixel;
red, green, blue, alpha: CARD16 red, green, blue, alpha: CARD16
] ]
PICTFORMINFO [ PICTFORMINFO [
id: PICTFORMAT id: PICTFORMAT
@ -349,10 +349,10 @@ alpha channel is used in the final image composition.
When fetching pixels from the source or mask pictures, Render provides four When fetching pixels from the source or mask pictures, Render provides four
options for pixel values which fall outside the drawable (this includes options for pixel values which fall outside the drawable (this includes
pixels within a window geometry obscured by other windows). pixels within a window geometry obscured by other windows).
+ None. Missing values are replaced with transparent. + None. Missing values are replaced with transparent.
+ Pad. Replace missing pixels with the nearest available + Pad. Replace missing pixels with the nearest available
pixel. Where multiple pixels are equidistant, select pixel. Where multiple pixels are equidistant, select
those with smallest Y and then smallest X coordinates those with smallest Y and then smallest X coordinates
@ -378,7 +378,7 @@ required filter alias which must map to one of the available filters.
10. Polygon Rasterization 10. Polygon Rasterization
Render provides only two kinds of polygons, trapezoids and triangles. To Render provides only two kinds of polygons, trapezoids and triangles. To
improve efficiency, several different wire encodings exist for each. improve efficiency, several different wire encodings exist for each.
All trapezoids must be convex. Rendering of concave trapezoids is unspecified All trapezoids must be convex. Rendering of concave trapezoids is unspecified
except that the result must obey the clipping rules. except that the result must obey the clipping rules.
@ -402,7 +402,7 @@ operator.
Rasterization Rasterization
Alpha values are generated by point sampling the coverage of a square Alpha values are generated by point sampling the coverage of a square
surrounding the center of each pixel by the polygon. surrounding the center of each pixel by the polygon.
In Precise poly mode, the sample points are located in a regular grid. When In Precise poly mode, the sample points are located in a regular grid. When
alpha depth 'e' is even, the regular grid is 2**(e/2) + 1 samples wide and alpha depth 'e' is even, the regular grid is 2**(e/2) + 1 samples wide and
@ -453,7 +453,7 @@ standard alias names are required to be mapped to a provided filter so that
applications can use the alias names without checking for availability. applications can use the alias names without checking for availability.
Alias name Intended interpretation Alias name Intended interpretation
fast High performance, quality similar to Nearest fast High performance, quality similar to Nearest
good Reasonable performance, quality similar to Bilinear good Reasonable performance, quality similar to Bilinear
best Highest quality available, performance may not best Highest quality available, performance may not
@ -466,7 +466,7 @@ provided. If they are provided, using the standard name, they must match
the definition specified here. the definition specified here.
Filter Name Description Filter Name Description
convolution MxN convolution filter. The values specified convolution MxN convolution filter. The values specified
in SetPictureFilter are M, N and then M * N in SetPictureFilter are M, N and then M * N
filter parameters. M and N must be integers filter parameters. M and N must be integers
@ -598,7 +598,7 @@ CreatePicture
The value-mask and value-list specify attributes of the picture that The value-mask and value-list specify attributes of the picture that
are to be explicitly initialized. The possible values are: are to be explicitly initialized. The possible values are:
repeat: REPEAT repeat: REPEAT
alpha-map: PICTURE or None alpha-map: PICTURE or None
alpha-x-origin: INT16 alpha-x-origin: INT16
@ -612,10 +612,10 @@ CreatePicture
poly-mode: POLYMODE poly-mode: POLYMODE
dither: ATOM or None dither: ATOM or None
component-alpha: BOOL component-alpha: BOOL
When used as a source or mask operand, Repeat indicates how the When used as a source or mask operand, Repeat indicates how the
drawable contents should be extended in both directions. drawable contents should be extended in both directions.
The alpha channel of alpha-map is used in place of any alpha channel The alpha channel of alpha-map is used in place of any alpha channel
contained within the drawable for all rendering operations. The contained within the drawable for all rendering operations. The
alpha-mask origin is interpreted relative to the origin of drawable. alpha-mask origin is interpreted relative to the origin of drawable.
@ -682,7 +682,7 @@ ChangePicture
Picture, Alloc, Pixmap, PictOp, Value Picture, Alloc, Pixmap, PictOp, Value
The value-mask and value-list specify which attributes are to be The value-mask and value-list specify which attributes are to be
changed. The values and restrictions are the same as for changed. The values and restrictions are the same as for
CreatePicture. CreatePicture.
SetPictureClipRectangles SetPictureClipRectangles
@ -776,7 +776,7 @@ Composite
Pixels outside the geometry of src or mask needed for this Pixels outside the geometry of src or mask needed for this
computation are substituted as described in the Source and Mask computation are substituted as described in the Source and Mask
Transformations section above. Transformations section above.
If src, mask and dst are not in the same format, and one of their If src, mask and dst are not in the same format, and one of their
formats can hold all without loss of precision, they are converted formats can hold all without loss of precision, they are converted
to that format. Alternatively, the server will convert each to that format. Alternatively, the server will convert each
@ -807,7 +807,7 @@ Trapezoids
traps: LISTofTRAPEZOID traps: LISTofTRAPEZOID
This request rasterizes the list of trapezoids. This request rasterizes the list of trapezoids.
For each trap, the area between the left and right edges is filled For each trap, the area between the left and right edges is filled
from the top to the bottom. src-x and src-y register the pattern to from the top to the bottom. src-x and src-y register the pattern to
the floor of the top x and y coordinate of the left edge of the the floor of the top x and y coordinate of the left edge of the
@ -1003,11 +1003,11 @@ CompositeGlyphs32
deltas are always added to the glyph origin. deltas are always added to the glyph origin.
All contained GLYPHSETs are always transmitted most significant byte All contained GLYPHSETs are always transmitted most significant byte
first. first.
If a GlyphSet error is generated for an item, the previous items may If a GlyphSet error is generated for an item, the previous items may
have been drawn. have been drawn.
When mask-format is not None, glyphs are rendered in the following When mask-format is not None, glyphs are rendered in the following
way with the effective mask computed in mask-format: way with the effective mask computed in mask-format:
@ -1035,8 +1035,8 @@ CreateCursor
The x and y coordinates define the hotspot relative to the source's The x and y coordinates define the hotspot relative to the source's
origin and must be a point within the source (or a Match error origin and must be a point within the source (or a Match error
results). The resulting picture will nominally be drawn to the results). The resulting picture will nominally be drawn to the
screen with PictOpOver. screen with PictOpOver.
The components of the cursor may be transformed arbitrarily to meet The components of the cursor may be transformed arbitrarily to meet
display limitations. In particular, if the display supports only display limitations. In particular, if the display supports only
two colors cursors without translucency, the cursor will be two colors cursors without translucency, the cursor will be
@ -1072,13 +1072,13 @@ AddTraps
'picture' must be an alpha-only picture else a 'Match' error is 'picture' must be an alpha-only picture else a 'Match' error is
returned. returned.
CreateSolidFill CreateSolidFill
pid: PICTURE pid: PICTURE
color: COLOR color: COLOR
Creates a Source picture that represents a solid fill with Creates a Source picture that represents a solid fill with
the specified color. the specified color.
CreateLinearGradient CreateLinearGradient
pid: PICTURE pid: PICTURE
@ -1090,13 +1090,13 @@ CreateLinearGradient
Errors: Alloc, Value Errors: Alloc, Value
Creates a source picture representing a linear Gradient. The gradients Creates a source picture representing a linear Gradient. The gradients
bounds are defined by the two end points p1 and p2. bounds are defined by the two end points p1 and p2.
The gradient has nstops stop points between 0 and 1, each The gradient has nstops stop points between 0 and 1, each
having a stop color defined in stop_colors. having a stop color defined in stop_colors.
The array of stops has to contain values between 0 and 1 (inclusive) and The array of stops has to contain values between 0 and 1 (inclusive) and
has to be ordered in increasing size or a Value error is generated. If has to be ordered in increasing size or a Value error is generated. If
p1 == p2 a Value error is generated. p1 == p2 a Value error is generated.
The colors are non premultiplied. The colors are non premultiplied.
@ -1122,8 +1122,8 @@ CreateRadialGradient
The array of stops has to contain values between 0 and 1 (inclusive) and The array of stops has to contain values between 0 and 1 (inclusive) and
has to be ordered in increasing size or a Value error is generated. The inner has to be ordered in increasing size or a Value error is generated. The inner
circle has to be completely contained inside the outer one or a Value error is circle has to be completely contained inside the outer one or a Value error is
generated. generated.
The colors are non premultiplied. The colors are non premultiplied.
@ -1148,7 +1148,7 @@ CreateConicalGradient
The colors are non premultiplied. The colors are non premultiplied.
15. Extension Versioning 15. Extension Versioning
The Render extension was developed in parallel with the implementation to The Render extension was developed in parallel with the implementation to
@ -1159,7 +1159,7 @@ describes the intent for version 1.0 of the specification, the partial
implementations have version numbers less than that. Here's a list of implementations have version numbers less than that. Here's a list of
what each version before 1.0 implemented: what each version before 1.0 implemented:
0.0: 0.0:
No disjoint/conjoint operators No disjoint/conjoint operators
No component alpha No component alpha
Composite Composite
@ -1200,7 +1200,7 @@ what each version before 1.0 implemented:
0.9: 0.9:
AddTrapezoids AddTrapezoids
0.10: 0.10:
CreateSolidFill CreateSolidFill
CreateLinearGradient CreateLinearGradient
CreateRadialGradient CreateRadialGradient

View file

@ -1,6 +1,6 @@
prefix=@prefix@ prefix=@prefix@
includedir=@includedir@ includedir=@includedir@
Name: ResourceProto Name: ResourceProto
Description: Resource extension headers Description: Resource extension headers
Version: 1.2.0 Version: 1.2.0

View file

@ -1,6 +1,6 @@
prefix=@prefix@ prefix=@prefix@
includedir=@includedir@ includedir=@includedir@
Name: ScrnSaverProto Name: ScrnSaverProto
Description: ScrnSaver extension headers Description: ScrnSaver extension headers
Version: 1.2.3 Version: 1.2.3

View file

@ -12,7 +12,7 @@ Authors:
- Povilas Kanapickas <povilas@radix.lt> - Povilas Kanapickas <povilas@radix.lt>
[[history]] [[history]]
History History
------- -------
- v2.4, September 2021: Touchpad gesture support added - v2.4, September 2021: Touchpad gesture support added
@ -414,7 +414,7 @@ before the current owner has accepted or rejected the sequence, the client
receives a TouchUpdate event with the TouchPendingEnd flag set. No further receives a TouchUpdate event with the TouchPendingEnd flag set. No further
TouchUpdate events will be sent for this sequence. If the current owner TouchUpdate events will be sent for this sequence. If the current owner
accepts the sequence, the client receives a TouchEnd event. Otherwise, if accepts the sequence, the client receives a TouchEnd event. Otherwise, if
the current owner rejects the sequence, the client may become the current owner rejects the sequence, the client may become
the owner of the touch sequence and receive a TouchOwnership event and a the owner of the touch sequence and receive a TouchOwnership event and a
TouchEnd event. TouchEnd event.
@ -2183,7 +2183,7 @@ offset is given such that L is negative. The value of bytes_after is A,
giving the number of trailing unread bytes in the stored property. If giving the number of trailing unread bytes in the stored property. If
delete is True and the bytes_after is zero, the property is also delete is True and the bytes_after is zero, the property is also
deleted from the device, and a XIPropertyNotify event is generated on deleted from the device, and a XIPropertyNotify event is generated on
the device. the device.
[[requests-xi23]] [[requests-xi23]]
Requests introduced in version 2.3 Requests introduced in version 2.3
@ -2226,7 +2226,7 @@ assigned and the client must re-issue the XIBarrierReleasePointer request.
If the device is not a master pointer device, a BadDevice error results. If the device is not a master pointer device, a BadDevice error results.
If the barrier does not name a valid barrier, a BadValue error results. If the barrier does not name a valid barrier, a BadValue error results.
[[events]] [[events]]
Events Events
------ ------
@ -2707,7 +2707,7 @@ modified by a client.
The property that has been created, deleted, or modified The property that has been created, deleted, or modified
what what
Specifies what has been changed. Specifies what has been changed.
[[events-xi22]] [[events-xi22]]
Events introduced in version 2.2 Events introduced in version 2.2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View file

@ -1237,7 +1237,7 @@ AwaitFence
1 19 minor opcode 1 19 minor opcode
2 1 + n request length 2 1 + n request length
4*n LISTofFENCE wait conditions 4*n LISTofFENCE wait conditions
</literallayout> </literallayout>
</sect1> </sect1>

View file

@ -95,11 +95,11 @@ the request.
If the specified length is smaller or larger than the required length, If the specified length is smaller or larger than the required length,
an error is generated. an error is generated.
Unused bytes in a request are not required to be zero. Unused bytes in a request are not required to be zero.
Major opcodes 128 through 255 are reserved for Major opcodes 128 through 255 are reserved for
<firstterm id="extension">extensions</firstterm>. <firstterm id="extension">extensions</firstterm>.
<indexterm zone="extension"><primary>Extension</primary></indexterm> <indexterm zone="extension"><primary>Extension</primary></indexterm>
Extensions are intended to contain multiple requests, Extensions are intended to contain multiple requests,
so extension requests typically have an additional so extension requests typically have an additional
<firstterm id="minor_opcode">minor opcode</firstterm> encoded <firstterm id="minor_opcode">minor opcode</firstterm> encoded
in the second data byte in the request header. in the second data byte in the request header.
<indexterm zone="minor_opcode" significance="preferred"><primary>Opcode</primary><secondary>minor</secondary></indexterm> <indexterm zone="minor_opcode" significance="preferred"><primary>Opcode</primary><secondary>minor</secondary></indexterm>

View file

@ -1,6 +1,6 @@
prefix=@prefix@ prefix=@prefix@
includedir=@includedir@ includedir=@includedir@
Name: TrapProto Name: TrapProto
Description: Trap extension headers Description: Trap extension headers
Version: 3.4.3 Version: 3.4.3

View file

@ -1,6 +1,6 @@
prefix=@prefix@ prefix=@prefix@
includedir=@includedir@ includedir=@includedir@
Name: WindowsWMProto Name: WindowsWMProto
Description: WindowsWM extension headers Description: WindowsWM extension headers
Version: 1.0.4 Version: 1.0.4

View file

@ -1,6 +1,6 @@
prefix=@prefix@ prefix=@prefix@
includedir=@includedir@ includedir=@includedir@
Name: XCMiscProto Name: XCMiscProto
Description: XCMisc extension headers Description: XCMisc extension headers
Version: 1.2.2 Version: 1.2.2

View file

@ -1,6 +1,6 @@
prefix=@prefix@ prefix=@prefix@
includedir=@includedir@ includedir=@includedir@
Name: XExtProto Name: XExtProto
Description: XExt extension headers Description: XExt extension headers
Version: 7.3.0 Version: 7.3.0

View file

@ -1,6 +1,6 @@
prefix=@prefix@ prefix=@prefix@
includedir=@includedir@ includedir=@includedir@
Name: XF86BigFontProto Name: XF86BigFontProto
Description: XF86BigFont extension headers Description: XF86BigFont extension headers
Version: 1.2.0 Version: 1.2.0

View file

@ -1,6 +1,6 @@
prefix=@prefix@ prefix=@prefix@
includedir=@includedir@ includedir=@includedir@
Name: XF86DGAProto Name: XF86DGAProto
Description: XF86DGA extension headers Description: XF86DGA extension headers
Version: 2.1 Version: 2.1

View file

@ -1,6 +1,6 @@
prefix=@prefix@ prefix=@prefix@
includedir=@includedir@ includedir=@includedir@
Name: XF86DRIProto Name: XF86DRIProto
Description: XF86DRI extension headers Description: XF86DRI extension headers
Version: 2.1.1 Version: 2.1.1

View file

@ -1,6 +1,6 @@
prefix=@prefix@ prefix=@prefix@
includedir=@includedir@ includedir=@includedir@
Name: XF86MiscProto Name: XF86MiscProto
Description: XF86Misc extension headers Description: XF86Misc extension headers
Version: 0.9.3 Version: 0.9.3

View file

@ -1,6 +1,6 @@
prefix=@prefix@ prefix=@prefix@
includedir=@includedir@ includedir=@includedir@
Name: XF86RushProto Name: XF86RushProto
Description: XF86Rush extension headers Description: XF86Rush extension headers
Version: 1.1.2 Version: 1.1.2

View file

@ -1,6 +1,6 @@
prefix=@prefix@ prefix=@prefix@
includedir=@includedir@ includedir=@includedir@
Name: XF86VidModeProto Name: XF86VidModeProto
Description: XF86VidMode extension headers Description: XF86VidMode extension headers
Version: 2.3.1 Version: 2.3.1

View file

@ -1,6 +1,6 @@
prefix=@prefix@ prefix=@prefix@
includedir=@includedir@ includedir=@includedir@
Name: XineramaProto Name: XineramaProto
Description: Xinerama extension headers Description: Xinerama extension headers
Version: 1.2.1 Version: 1.2.1

View file

@ -1,7 +1,7 @@
prefix=@prefix@ prefix=@prefix@
includedir=@includedir@ includedir=@includedir@
includex11dir=@includedir@/X11 includex11dir=@includedir@/X11
Name: Xproto Name: Xproto
Description: Xproto headers Description: Xproto headers
Version: 7.0.34 Version: 7.0.34

View file

@ -1,6 +1,6 @@
prefix=@prefix@ prefix=@prefix@
includedir=@includedir@ includedir=@includedir@
Name: XProxyManagementProtocol Name: XProxyManagementProtocol
Description: X Proxy Management Protocol headers Description: X Proxy Management Protocol headers
Version: 1.0.3 Version: 1.0.3