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
notice appear in all copies and that both that copyright
notice and this permission notice appear in supporting
documentation, and that the name of Silicon Graphics not be
used in advertising or publicity pertaining to distribution
documentation, and that the name of Silicon Graphics not be
used in advertising or publicity pertaining to distribution
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"
without any express or implied warranty.
SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
GRAPHICS 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 OF CONTRACT, NEGLIGENCE
GRAPHICS 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 OF CONTRACT, NEGLIGENCE
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH
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
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
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
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.

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
that the above copyright notice appear in all copies and that both that
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
of the software without specific, written prior permission.
NETWORK COMPUTING DEVICES DISCLAIMs ALL WARRANTIES WITH REGARD TO
THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS, IN NO EVENT SHALL NETWORK COMPUTING DEVICES 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 OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
NETWORK COMPUTING DEVICES DISCLAIMs ALL WARRANTIES WITH REGARD TO
THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS, IN NO EVENT SHALL NETWORK COMPUTING DEVICES 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 OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
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
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
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.
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
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
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
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
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.
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
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.
@ -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
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES, INCLUDING,
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
DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES, INCLUDING,
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
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
dealings in this Software without prior written authorization from Digital
dealings in this Software without prior written authorization from Digital
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
copyright notice and this permission notice appear in supporting
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.
THIS SOFTWARE IS PROVIDED `AS-IS'. NETWORK COMPUTING DEVICES, INC.,
@ -142,13 +142,13 @@ and Olivetti Research Limited, Cambridge, England.
All Rights Reserved
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
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
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
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
software without specific, written prior permission.
Hewlett-Packard makes no representations about the
suitability of this software for any purpose. It is provided
Hewlett-Packard makes no representations about the
suitability of this software for any purpose. It is provided
"as is" without express or implied warranty.
This software is not subject to any license of the American

View file

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

View file

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

View file

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

View file

@ -2,7 +2,7 @@
Protocol Version 1.1
Document Revision 1
2007-01-08
Keith Packard
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
last year which was then lost to the mists of time.
+ Bill Haneman whose work on accessibility in the Gnome environment
is legendary.
@ -98,7 +98,7 @@ Damage
6. Types
DAMAGE 32-bit value (top three bits guaranteed to be zero)
DamageReportLevel { DamageReportRawRectangles,
DamageReportDeltaRectangles,
DamageReportBoundingBox,
@ -179,7 +179,7 @@ DamageCreate
damage: DAMAGE
drawable: Drawable
level: DamageReportLevel
Creates a damage object to monitor changes to Drawable
DamageDestroy
@ -199,9 +199,9 @@ DamageSubtract
1) if parts is not None, parts = damage
2) damage = <empty>
Otherwise:
1) tmp = damage INTERSECT repair
2) damage = damage - tmp
3) if parts is not None, parts = tmp

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -28,7 +28,7 @@ from The Open Group.
/*
* Copyright © 2005 Daniel Stone
*
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided 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))
#endif
#if defined(BSD) && BSD < 198911
#if defined(BSD) && BSD < 198911
typedef struct fd_set {
fd_mask fds_bits[howmany(FD_SETSIZE, NFDBITS)];
} fd_set;
@ -120,7 +120,7 @@ typedef struct fd_set {
/*
* The howmany(FD_SETSIZE, NFDBITS) computes the number of elements in the
* 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) \
((howmany(FD_SETSIZE, NFDBITS) > 0 && (__XFDS_BITS(p, 0))) || \
@ -155,7 +155,7 @@ typedef struct fd_set {
int __i__; \
for (__i__ = 0; __i__ < howmany(FD_SETSIZE, NFDBITS); __i__++) \
__XFDS_BITS((dst), __i__) = ((__XFDS_BITS((b1), __i__)) | (__XFDS_BITS((b2), __i__))); \
}
}
#define XFD_UNSET(dst,b1) { \
int __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); \
} while(0)
#define getdtablesize() FD_SETSIZE
#define getdtablesize() FD_SETSIZE
#endif /* WIN32 */

View file

@ -121,19 +121,19 @@ SOFTWARE.
* 4. If none of the previous rules apply, an alias is *implicitly*
* deprecated if there is at least one previous name for the
* corresponding keysym that is *not* explicitly deprecated.
*
*
* Examples:
*
*
* // SingleCandidate is the canonical name
* #define XK_SingleCandidate 0xff3c
* // Hangul_SingleCandidate is deprecated because it is an alias
* // and it does not start with "non-deprecated alias"
* #define XK_Hangul_SingleCandidate 0xff3c // Single candidate
*
*
* // 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.
* #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.
* #define XK_guillemetleft2 0x00ab
*

View file

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

View file

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

View file

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

View file

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

View file

@ -1,7 +1,7 @@
The Present Extension
Version 1.4
2023-06-13
Keith Packard
keithp@keithp.com
Intel Corporation
@ -26,7 +26,7 @@ Owen Taylor <otaylor@redhat.com>
James Jones <jajones@nvidia.com>
Louis-Francis Ratté-Boulianne <lfrb@collabora.com>
❄ ❄ ❄ ❄ ❄ ❄ ❄
❄ ❄ ❄ ❄ ❄ ❄ ❄
2. Data Types
@ -85,14 +85,14 @@ PRESENTEVENTTYPE { ...
PRESENTEVENTMASK { ...
PresentSubredirectNotifyMask }
❄ ❄ ❄ ❄ ❄ ❄ ❄
❄ ❄ ❄ ❄ ❄ ❄ ❄
3. Errors
EventID
A value for an EventID argument does not name a defined EventID
❄ ❄ ❄ ❄ ❄ ❄ ❄
❄ ❄ ❄ ❄ ❄ ❄ ❄
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
requests.
❄ ❄ ❄ ❄ ❄ ❄ ❄
❄ ❄ ❄ ❄ ❄ ❄ ❄
6. Extension Initialization
@ -135,7 +135,7 @@ The name of this extension is "Present"
Backwards compatible changes include addition of new
requests.
❄ ❄ ❄ ❄ ❄ ❄ ❄
❄ ❄ ❄ ❄ ❄ ❄ ❄
7. Extension Requests
@ -187,7 +187,7 @@ The name of this extension is "Present"
and update-area are relative to the pixmap.
PresentPixmap will block until 'wait-fence' is triggered.
When the X server has finished using 'pixmap' for this
operation, it will send a PresentIdleNotify event and arrange
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'
field. Otherwise, the presentation will occur after the next
field where msc % 'divisor' == 'remainder'.
If 'target-crtc' is None, then the X server will choose a
suitable CRTC for synchronization.
If 'options' contains PresentOptionAsync, and the 'target-msc'
is less than or equal to the current msc for 'window', then
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'
field. Otherwise, the event delivery will occur after the next
field where msc % 'divisor' == 'remainder'.
If 'window' is destroyed before the event is delivered, then
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
to violate this restriction results in an Access error.
❄ ❄ ❄ ❄ ❄ ❄ ❄
❄ ❄ ❄ ❄ ❄ ❄ ❄
8. Extension Events
@ -489,7 +489,7 @@ The name of this extension is "Present"
it. PresentConfigureNotify events are XGE events and so do not
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
@ -748,7 +748,7 @@ A.2 Protocol Requests
4 0 reply length
4 CARD32 major version
4 CARD32 minor version
16 unused
16 unused
└───
┌───

View file

@ -1,6 +1,6 @@
prefix=@prefix@
includedir=@includedir@
Name: RandrProto
Description: Randr extension headers
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
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
slave for the second GPU.
slave for the second GPU.
2) offload - For dual-GPU laptops, allow direct rendered applications to be run
on the second GPU and display on the first GPU.

View file

@ -1,6 +1,6 @@
prefix=@prefix@
includedir=@includedir@
Name: RecordProto
Description: Record extension headers
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
transformation, and if so, what filter to apply while
resampling the data.
+ Whether the mask should be reshaped with a projective
transformation, and if so, what filter to apply while
resampling the data.
These parameters are variously attached to the operands or included in each
rendering request.
@ -144,21 +144,21 @@ PICTOP { Clear, Src, Dst, Over, OverReverse, In, InReverse,
ColorBurn, HardLight, SoftLight, Difference, Exclusion,
HSLHue, HSLSaturation, HSLColor, HSLLuminosity
}
SUBPIXEL { Unknown, HorizontalRGB, HorizontalBGR,
SUBPIXEL { Unknown, HorizontalRGB, HorizontalBGR,
VerticalRGB, VerticalBGR, None
}
COLOR [
COLOR [
red, green, blue, alpha: CARD16
]
CHANNELMASK [
shift, mask: CARD16
]
DIRECTFORMAT [
red, green, blue, alpha: CHANNELMASK
red, green, blue, alpha: CHANNELMASK
]
INDEXVALUE [
pixel: Pixel;
red, green, blue, alpha: CARD16
INDEXVALUE [
pixel: Pixel;
red, green, blue, alpha: CARD16
]
PICTFORMINFO [
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
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.
+ Pad. Replace missing pixels with the nearest available
pixel. Where multiple pixels are equidistant, select
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
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
except that the result must obey the clipping rules.
@ -402,7 +402,7 @@ operator.
Rasterization
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
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.
Alias name Intended interpretation
fast High performance, quality similar to Nearest
good Reasonable performance, quality similar to Bilinear
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.
Filter Name Description
convolution MxN convolution filter. The values specified
in SetPictureFilter are M, N and then M * N
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
are to be explicitly initialized. The possible values are:
repeat: REPEAT
alpha-map: PICTURE or None
alpha-x-origin: INT16
@ -612,10 +612,10 @@ CreatePicture
poly-mode: POLYMODE
dither: ATOM or None
component-alpha: BOOL
When used as a source or mask operand, Repeat indicates how the
drawable contents should be extended in both directions.
The alpha channel of alpha-map is used in place of any alpha channel
contained within the drawable for all rendering operations. The
alpha-mask origin is interpreted relative to the origin of drawable.
@ -682,7 +682,7 @@ ChangePicture
Picture, Alloc, Pixmap, PictOp, Value
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.
SetPictureClipRectangles
@ -776,7 +776,7 @@ Composite
Pixels outside the geometry of src or mask needed for this
computation are substituted as described in the Source and Mask
Transformations section above.
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
to that format. Alternatively, the server will convert each
@ -807,7 +807,7 @@ Trapezoids
traps: LISTofTRAPEZOID
This request rasterizes the list of trapezoids.
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
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.
All contained GLYPHSETs are always transmitted most significant byte
first.
first.
If a GlyphSet error is generated for an item, the previous items may
have been drawn.
When mask-format is not None, glyphs are rendered in the following
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
origin and must be a point within the source (or a Match error
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
display limitations. In particular, if the display supports only
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
returned.
CreateSolidFill
pid: PICTURE
color: COLOR
color: COLOR
Creates a Source picture that represents a solid fill with
the specified color.
the specified color.
CreateLinearGradient
pid: PICTURE
@ -1090,13 +1090,13 @@ CreateLinearGradient
Errors: Alloc, Value
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
having a stop color defined in stop_colors.
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.
The colors are non premultiplied.
@ -1122,8 +1122,8 @@ CreateRadialGradient
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
circle has to be completely contained inside the outer one or a Value error is
generated.
circle has to be completely contained inside the outer one or a Value error is
generated.
The colors are non premultiplied.
@ -1148,7 +1148,7 @@ CreateConicalGradient
The colors are non premultiplied.
15. Extension Versioning
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
what each version before 1.0 implemented:
0.0:
0.0:
No disjoint/conjoint operators
No component alpha
Composite
@ -1200,7 +1200,7 @@ what each version before 1.0 implemented:
0.9:
AddTrapezoids
0.10:
0.10:
CreateSolidFill
CreateLinearGradient
CreateRadialGradient

View file

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

View file

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

View file

@ -12,7 +12,7 @@ Authors:
- Povilas Kanapickas <povilas@radix.lt>
[[history]]
History
History
-------
- 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
TouchUpdate events will be sent for this sequence. If the current owner
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
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
delete is True and the bytes_after is zero, the property is also
deleted from the device, and a XIPropertyNotify event is generated on
the device.
the device.
[[requests-xi23]]
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 barrier does not name a valid barrier, a BadValue error results.
[[events]]
Events
------
@ -2707,7 +2707,7 @@ modified by a client.
The property that has been created, deleted, or modified
what
Specifies what has been changed.
[[events-xi22]]
Events introduced in version 2.2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View file

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

View file

@ -95,11 +95,11 @@ the request.
If the specified length is smaller or larger than the required length,
an error is generated.
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>.
<indexterm zone="extension"><primary>Extension</primary></indexterm>
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
in the second data byte in the request header.
<indexterm zone="minor_opcode" significance="preferred"><primary>Opcode</primary><secondary>minor</secondary></indexterm>

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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