From d5bcf62732b3c4eb40b0ceddf11bea978c71d8ee Mon Sep 17 00:00:00 2001 From: Diego Viola Date: Tue, 3 Mar 2026 06:49:59 -0300 Subject: [PATCH] Fix typos Signed-off-by: Diego Viola Part-of: --- dix/dispatch.c | 2 +- doc/Xserver-spec.xml | 2 +- hw/xfree86/common/xf86Init.c | 2 +- hw/xfree86/doc/README.modes | 2 +- hw/xfree86/drivers/video/modesetting/modesetting.man | 2 +- include/dristruct.h | 2 +- include/exa.h | 2 +- include/picture.h | 2 +- include/xf86Module.h | 2 +- test/xi2/protocol-xigetselectedevents.c | 2 +- test/xi2/protocol-xipassivegrabdevice.c | 2 +- test/xi2/protocol-xiselectevents.c | 2 +- test/xi2/protocol-xisetclientpointer.c | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/dix/dispatch.c b/dix/dispatch.c index a51f18be6..57badefee 100644 --- a/dix/dispatch.c +++ b/dix/dispatch.c @@ -3948,7 +3948,7 @@ ProcEstablishConnection(ClientPtr client) prefix = (xConnClientPrefix *) ((char *) stuff + sz_xReq); if (client->swapped && !dixSettingAllowByteSwappedClients) { - reason = "Prohibited client endianess, see the Xserver man page "; + reason = "Prohibited client endianness, see the Xserver man page "; } else if ((client->req_len << 2) != sz_xReq + sz_xConnClientPrefix + pad_to_int32(prefix->nbytesAuthProto) + pad_to_int32(prefix->nbytesAuthString)) diff --git a/doc/Xserver-spec.xml b/doc/Xserver-spec.xml index 8bfbfecb4..617feba2d 100644 --- a/doc/Xserver-spec.xml +++ b/doc/Xserver-spec.xml @@ -856,7 +856,7 @@ and RemoveEnabledDevice are in Xserver/os/connection.c. Similarly, the X server or an extension may need to wait for some timeout. Early X releases implemented this functionality using block and wakeup handlers, -but this has been rewritten to use a general timer facilty, and the +but this has been rewritten to use a general timer facility, and the internal screen saver facilities reimplemented to use Timers. These functions are TimerInit, TimerForce, TimerSet, TimerCancel, and TimerFree, as defined in Xserver/include/os.h. A callback function will be called diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c index 4d503776b..c4427df80 100644 --- a/hw/xfree86/common/xf86Init.c +++ b/hw/xfree86/common/xf86Init.c @@ -442,7 +442,7 @@ InitOutput(int argc, char **argv) /* - * Sort the drivers to match the requested ording. Using a slow + * Sort the drivers to match the requested ordering. Using a slow * bubble sort. */ for (j = 0; j < xf86NumScreens - 1; j++) { diff --git a/hw/xfree86/doc/README.modes b/hw/xfree86/doc/README.modes index 54543bf0a..603276393 100644 --- a/hw/xfree86/doc/README.modes +++ b/hw/xfree86/doc/README.modes @@ -134,7 +134,7 @@ enable as much hardware as possible using some fairly simple heuristics. The 'canGrow' parameter indicates that the frame buffer does not have a fixed size. When the frame buffer has a fixed size, the configuration selects a -'reasonablely large' frame buffer so that common reconfiguration options are +'reasonably large' frame buffer so that common reconfiguration options are possible. For resizable frame buffers, the frame buffer is set to the smallest size that encloses the desired configuration. diff --git a/hw/xfree86/drivers/video/modesetting/modesetting.man b/hw/xfree86/drivers/video/modesetting/modesetting.man index f358ecdb6..37174d70e 100644 --- a/hw/xfree86/drivers/video/modesetting/modesetting.man +++ b/hw/xfree86/drivers/video/modesetting/modesetting.man @@ -100,7 +100,7 @@ cause some tearing on these displays, but it prevents a permanent or periodic slowdown or irritating judder of animations if not all video outputs are running synchronized with each other and with the same refresh rate. There is no perfect solution apart from perfectly synchronized outputs, but this option may give -preferrable results if the displays in a multi-display setup mirror or clone +preferable results if the displays in a multi-display setup mirror or clone each other. The default is .B off. .TP diff --git a/include/dristruct.h b/include/dristruct.h index 67032215f..f74aef29d 100644 --- a/include/dristruct.h +++ b/include/dristruct.h @@ -79,7 +79,7 @@ typedef struct _DRIScreenPrivRec { DRIContextPrivPtr myContextPriv; /* Pointer to server's private area */ DRIContextPrivPtr lastPartial3DContext; /* last one partially saved */ void **hiddenContextStore; /* hidden X context */ - void **partial3DContextStore; /* parital 3D context */ + void **partial3DContextStore; /* partial 3D context */ DRIInfoPtr pDriverInfo; int nrWindows; int nrWindowsVisible; diff --git a/include/exa.h b/include/exa.h index 426d5f413..1251dc70a 100644 --- a/include/exa.h +++ b/include/exa.h @@ -585,7 +585,7 @@ typedef struct _ExaDriver { * @return TRUE if PrepareAccess() successfully prepared the pixmap for CPU * drawing. * @return FALSE if PrepareAccess() is unsuccessful and EXA should use - * DownloadFromScreen() to migate the pixmap out. + * DownloadFromScreen() to mitigate the pixmap out. */ Bool (*PrepareAccess) (PixmapPtr pPix, int index); diff --git a/include/picture.h b/include/picture.h index 438450fe9..b1dec4114 100644 --- a/include/picture.h +++ b/include/picture.h @@ -123,7 +123,7 @@ typedef pixman_format_code_t PictFormatShort; * 256 PolicyColor (only on PseudoColor) * * The actual allocation code lives in miindex.c, and so is - * austensibly server dependent, but that code does: + * ostensibly server dependent, but that code does: * * PolicyMono Allocate no additional colors, use black and white * PolicyGray Allocate 13 gray levels (11 cells used) diff --git a/include/xf86Module.h b/include/xf86Module.h index 4eb50d234..694e4f5f5 100644 --- a/include/xf86Module.h +++ b/include/xf86Module.h @@ -144,7 +144,7 @@ typedef struct { */ typedef struct { CARD8 majorversion; /* module-specific major version */ - CARD8 minorversion; /* moudle-specific minor version */ + CARD8 minorversion; /* module-specific minor version */ CARD16 patchlevel; /* module-specific patch level */ const char *abiclass; /* ABI class that the module uses */ CARD32 abiversion; /* ABI version */ diff --git a/test/xi2/protocol-xigetselectedevents.c b/test/xi2/protocol-xigetselectedevents.c index 922b0ed95..133521e0f 100644 --- a/test/xi2/protocol-xigetselectedevents.c +++ b/test/xi2/protocol-xigetselectedevents.c @@ -147,7 +147,7 @@ request_XIGetSelectedEvents(xXIGetSelectedEventsReq * req, int error) client->req_len (see above). We previously had to swap it here, so that ProcXIPassiveGrabDevice() will swap it back. Since that's gone now, still swapping itself would break if this function is called - again and writing back a errornously swapped value + again and writing back a erroneously swapped value */ swapl(&req->win); diff --git a/test/xi2/protocol-xipassivegrabdevice.c b/test/xi2/protocol-xipassivegrabdevice.c index 23cf9e20c..7748ddeed 100644 --- a/test/xi2/protocol-xipassivegrabdevice.c +++ b/test/xi2/protocol-xipassivegrabdevice.c @@ -153,7 +153,7 @@ request_XIPassiveGrabDevice(ClientPtr client, xXIPassiveGrabDeviceReq * req, client->req_len (see above). We previously had to swap it here, so that ProcXIPassiveGrabDevice() will swap it back. Since that's gone now, still swapping itself would break if this function is called - again and writing back a errornously swapped value + again and writing back a erroneously swapped value */ swapl(&req->time); diff --git a/test/xi2/protocol-xiselectevents.c b/test/xi2/protocol-xiselectevents.c index caeb347da..b71f14e82 100644 --- a/test/xi2/protocol-xiselectevents.c +++ b/test/xi2/protocol-xiselectevents.c @@ -116,7 +116,7 @@ request_XISelectEvent(xXISelectEventsReq * req, int error) client->req_len (see above). We previously had to swap it here, so that ProcXIPassiveGrabDevice() will swap it back. Since that's gone now, still swapping itself would break if this function is called - again and writing back a errornously swapped value + again and writing back a erroneously swapped value */ swapl(&req->win); diff --git a/test/xi2/protocol-xisetclientpointer.c b/test/xi2/protocol-xisetclientpointer.c index 800dd947b..16a8b3ca6 100644 --- a/test/xi2/protocol-xisetclientpointer.c +++ b/test/xi2/protocol-xisetclientpointer.c @@ -76,7 +76,7 @@ request_XISetClientPointer(xXISetClientPointerReq * req, int error) client->req_len (see above). We previously had to swap it here, so that ProcXIPassiveGrabDevice() will swap it back. Since that's gone now, still swapping itself would break if this function is called - again and writing back a errornously swapped value + again and writing back a erroneously swapped value */ swapl(&req->win);