summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-06-10 10:08:26 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-06-10 10:08:26 -0700
commit34e454b17466ad2d79fb51ab040906dfe9ccc3f3 (patch)
tree01243ebc968572875fb1f58fc64b6f421d231cb7
parent5da41666a4a5bef637a9bb0c04357b7ab2de323d (diff)
downloadxorg-lib-libXext-34e454b17466ad2d79fb51ab040906dfe9ccc3f3.tar.gz
Fix spelling/wording issues
Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--README.md2
-rw-r--r--configure.ac2
-rw-r--r--include/X11/extensions/XShm.h2
-rw-r--r--include/X11/extensions/multibuf.h6
-rw-r--r--include/X11/extensions/shape.h2
-rw-r--r--include/X11/extensions/sync.h2
-rw-r--r--man/XcupStoreColors.man2
-rw-r--r--man/XdbeGetVisualInfo.man2
-rw-r--r--man/Xmbuf.man2
-rw-r--r--specs/dbelib.xml2
-rw-r--r--specs/dpmslib.xml2
-rw-r--r--specs/shapelib.xml2
-rw-r--r--specs/synclib.xml2
-rw-r--r--src/XMultibuf.c2
-rw-r--r--src/XTestExt1.c4
15 files changed, 18 insertions, 18 deletions
diff --git a/README.md b/README.md
index edb1b4d..cc5d045 100644
--- a/README.md
+++ b/README.md
@@ -13,7 +13,7 @@ Xorg mailing list:
https://lists.x.org/mailman/listinfo/xorg
-The master development code repository can be found at:
+The primary development code repository can be found at:
https://gitlab.freedesktop.org/xorg/lib/libXext
diff --git a/configure.ac b/configure.ac
index 726ce08..86a479a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -36,7 +36,7 @@ if test "x$XEXT_SOREV" = "x" ; then
fi
AC_SUBST(XEXT_SOREV)
-# Obtain compiler/linker options for depedencies
+# Obtain compiler/linker options for dependencies
PKG_CHECK_MODULES(XEXT, [xproto >= 7.0.13] [x11 >= 1.6] [xextproto >= 7.1.99])
AX_GCC_BUILTIN([__builtin_popcountl])
diff --git a/include/X11/extensions/XShm.h b/include/X11/extensions/XShm.h
index 23f0651..b64346a 100644
--- a/include/X11/extensions/XShm.h
+++ b/include/X11/extensions/XShm.h
@@ -38,7 +38,7 @@ typedef unsigned long ShmSeg;
typedef struct {
int type; /* of event */
unsigned long serial; /* # of last request processed by server */
- Bool send_event; /* true if this came frome a SendEvent request */
+ Bool send_event; /* true if this came from a SendEvent request */
Display *display; /* Display the event was read from */
Drawable drawable; /* drawable of request */
int major_code; /* ShmReqCode */
diff --git a/include/X11/extensions/multibuf.h b/include/X11/extensions/multibuf.h
index 27165f0..908db1e 100644
--- a/include/X11/extensions/multibuf.h
+++ b/include/X11/extensions/multibuf.h
@@ -42,7 +42,7 @@ typedef XID Multibuffer;
typedef struct {
int type; /* of event */
unsigned long serial; /* # of last request processed by server */
- int send_event; /* true if this came frome a SendEvent request */
+ int send_event; /* true if this came from a SendEvent request */
Display *display; /* Display the event was read from */
Multibuffer buffer; /* buffer of event */
int state; /* see Clobbered constants above */
@@ -51,7 +51,7 @@ typedef struct {
typedef struct {
int type; /* of event */
unsigned long serial; /* # of last request processed by server */
- int send_event; /* true if this came frome a SendEvent request */
+ int send_event; /* true if this came from a SendEvent request */
Display *display; /* Display the event was read from */
Multibuffer buffer; /* buffer of event */
} XmbufUpdateNotifyEvent;
@@ -99,7 +99,7 @@ typedef struct {
* per-screen buffer info (there will be lists of them)
*/
typedef struct {
- VisualID visualid; /* visual usuable at this depth */
+ VisualID visualid; /* visual usable at this depth */
int max_buffers; /* most buffers for this visual */
int depth; /* depth of buffers to be created */
} XmbufBufferInfo;
diff --git a/include/X11/extensions/shape.h b/include/X11/extensions/shape.h
index 66af5b1..48b6943 100644
--- a/include/X11/extensions/shape.h
+++ b/include/X11/extensions/shape.h
@@ -36,7 +36,7 @@ in this Software without prior written authorization from The Open Group.
typedef struct {
int type; /* of event */
unsigned long serial; /* # of last request processed by server */
- Bool send_event; /* true if this came frome a SendEvent request */
+ Bool send_event; /* true if this came from a SendEvent request */
Display *display; /* Display the event was read from */
Window window; /* window of event */
int kind; /* ShapeBounding or ShapeClip */
diff --git a/include/X11/extensions/sync.h b/include/X11/extensions/sync.h
index 31b1be0..4471806 100644
--- a/include/X11/extensions/sync.h
+++ b/include/X11/extensions/sync.h
@@ -169,7 +169,7 @@ typedef struct {
XSyncCounter counter; /* counter to trigger on */
XSyncValueType value_type; /* absolute/relative */
XSyncValue wait_value; /* value to compare counter to */
- XSyncTestType test_type; /* pos/neg comparison/transtion */
+ XSyncTestType test_type; /* pos/neg comparison/transition */
} XSyncTrigger;
typedef struct {
diff --git a/man/XcupStoreColors.man b/man/XcupStoreColors.man
index 255f856..09fce2b 100644
--- a/man/XcupStoreColors.man
+++ b/man/XcupStoreColors.man
@@ -69,7 +69,7 @@ PseudoColor, or DirectColor visual.
Applications which allocate many colors in a screen's default colormap, e.g.
a color-cube or a gray-ramp, should allocate them with
.ZN XCupStoreColors .
-By using XCupStoreColors the colors will be allocated sharable (read-only)
+By using XCupStoreColors the colors will be allocated shareable (read-only)
and any other application which allocates the same color will share that
color cell.
.SH "SEE ALSO"
diff --git a/man/XdbeGetVisualInfo.man b/man/XdbeGetVisualInfo.man
index a4204e6..87b1203 100644
--- a/man/XdbeGetVisualInfo.man
+++ b/man/XdbeGetVisualInfo.man
@@ -25,7 +25,7 @@
.\"
.TH XdbeGetVisualInfo __libmansuffix__ __xorgversion__ "X FUNCTIONS"
.SH NAME
-XdbeGetVisualInfo - Get dbe Visual Informations
+XdbeGetVisualInfo - Get dbe Visual Information
.SH SYNOPSIS
\&#include <X11/extensions/Xdbe.h>
diff --git a/man/Xmbuf.man b/man/Xmbuf.man
index 9954d92..94aaee8 100644
--- a/man/Xmbuf.man
+++ b/man/Xmbuf.man
@@ -287,7 +287,7 @@ according to nstereo_return. The storage returned in mono_info_return
and stereo_info_return may be released by
.ZN XFree .
If no errors are
-encounted, non-zero will be returned.
+encountered, non-zero will be returned.
.PP
.ZN XmbufCreateStereoWindow
creates a stereo window in the same way that
diff --git a/specs/dbelib.xml b/specs/dbelib.xml
index f1692d0..33fe6a4 100644
--- a/specs/dbelib.xml
+++ b/specs/dbelib.xml
@@ -249,7 +249,7 @@ the same area in both the front and back buffers is cleared.
<para>
The effect of passing a window to a request that accepts a
<function>DRAWABLE</function> is
-unchanged by this extension. The window and front buffer are synonomous
+unchanged by this extension. The window and front buffer are synonymous
with each other. This includes obeying the <function>GetImage</function>
semantics and the
subwindow-mode semantics if a core graphics context is involved. Regardless
diff --git a/specs/dpmslib.xml b/specs/dpmslib.xml
index ba5682e..a5275fe 100644
--- a/specs/dpmslib.xml
+++ b/specs/dpmslib.xml
@@ -242,7 +242,7 @@ inactivity in seconds before the third and final level of power savings is
invoked. Off mode's physical and electrical characteristics are
implementation defined, but in DPMS compliant hardware, is implemented by
shutting off both horizontal and vertical sync signals, resulting in
-the power-down of the monitor. Recovery time is implementation dependant,
+the power-down of the monitor. Recovery time is implementation dependent,
but frequently is similar to the power-up time of the monitor. A value
of zero disables this mode.
</para>
diff --git a/specs/shapelib.xml b/specs/shapelib.xml
index 525cbbe..3da977c 100644
--- a/specs/shapelib.xml
+++ b/specs/shapelib.xml
@@ -464,7 +464,7 @@ The structure for this event is defined as follows:
typedef struct {
int type; /* of event */
unsigned long serial; /* # of last request processed by server */
- Bool send_event; /* true if this came frome a SendEvent request */
+ Bool send_event; /* true if this came from a SendEvent request */
Display *display; /* Display the event was read from */
Window window; /* window of event */
int kind; /* ShapeBounding or ShapeClip */
diff --git a/specs/synclib.xml b/specs/synclib.xml
index 12145eb..4afc227 100644
--- a/specs/synclib.xml
+++ b/specs/synclib.xml
@@ -376,7 +376,7 @@ XSyncWaitCondition has the following fields:
XSyncCounter trigger.counter; /*counter to trigger on */
XSyncValueType trigger.value_type; /*absolute/relative */
XSyncValue trigger.wait_value; /*value to compare counter to */
-XSyncTestType trigger.test_type; /*pos/neg comparison/transtion */
+XSyncTestType trigger.test_type; /*pos/neg comparison/transition */
XSyncValue event_threshold; /*send event if past threshold */
</literallayout>
diff --git a/src/XMultibuf.c b/src/XMultibuf.c
index 75854aa..79034da 100644
--- a/src/XMultibuf.c
+++ b/src/XMultibuf.c
@@ -543,7 +543,7 @@ void XmbufChangeBufferAttributes (
* mono_info_return is set to NULL. Similarly, stereo_info_return is
* set according to nstereo_return. The storage returned in
* mono_info_return and stereo_info_return may be released by XFree.
- * If no errors are encounted, non-zero will be returned.
+ * If no errors are encountered, non-zero will be returned.
*/
Status XmbufGetScreenInfo (
Display *dpy,
diff --git a/src/XTestExt1.c b/src/XTestExt1.c
index 15aa4c0..6cb27bf 100644
--- a/src/XTestExt1.c
+++ b/src/XTestExt1.c
@@ -646,7 +646,7 @@ unsigned int key_action)
return(-1);
}
/*
- * use the commmon key/button handling routine
+ * use the common key/button handling routine
*/
return(XTestKeyOrButton(display,
device_id,
@@ -678,7 +678,7 @@ unsigned int button_action)
return(-1);
}
/*
- * use the commmon key/button handling routine
+ * use the common key/button handling routine
*/
return(XTestKeyOrButton(display,
device_id,