treewide: fix typos

Signed-off-by: default avatarDiego Viola <diego.viola@gmail.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2138>

---------------------------------------------------------------------------

One of the spelling errors was moved to another file and fixed there

Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
This commit is contained in:
Diego Viola
2026-03-15 14:05:57 +02:00
committed by Enrico Weigelt
parent e6a0fa4b0c
commit 639551d032
8 changed files with 9 additions and 9 deletions

View File

@@ -1509,7 +1509,7 @@ CurrentOrOldMasterKeyboard(DeviceIntPtr dev)
if (!kbd)
return NULL;
/* if dev is a pointer the saved master is a master pointer,
* we want the keybard */
* we want the keyboard */
return GetMaster(kbd, MASTER_KEYBOARD);
}

View File

@@ -302,7 +302,7 @@ ephyrDoneComposite(PixmapPtr pDst)
}
/**
* Does fake acceleration of DownloadFromScren using memcpy.
* Does fake acceleration of DownloadFromScreen using memcpy.
*/
static Bool
ephyrDownloadFromScreen(PixmapPtr pSrc, int x, int y, int w, int h, char *dst,

View File

@@ -135,7 +135,7 @@ address space.
1. xf86Int10InfoPtr xf86InitInt10(int entityIndex);
This function should first find the screen assigned to the entity
carrying entitiyIndex and then call
carrying entityIndex and then call
Bool int10skip(ScrnInfoPtr pScrn)

View File

@@ -1125,7 +1125,7 @@ glxWinSetPixelFormat(HDC hdc, int bppOverride, int drawableTypeOverride,
and see if we can find a suitable one...
*/
ErrorF
("glxWinSetPixelFormat: having second thoughts: cColorbits %d, bppOveride %d; config->drawableType %d, drawableTypeOverride %d\n",
("glxWinSetPixelFormat: having second thoughts: cColorbits %d, bppOverride %d; config->drawableType %d, drawableTypeOverride %d\n",
(config->redBits + config->greenBits + config->blueBits), bppOverride,
config->drawableType, drawableTypeOverride);

View File

@@ -249,7 +249,7 @@ typedef void (*CursorWarpedToProcPtr) (DeviceIntPtr /* pDev */ ,
int /*x */ ,
int /*y */ );
typedef void (*CurserConfinedToProcPtr) (DeviceIntPtr /* pDev */ ,
typedef void (*CursorConfinedToProcPtr) (DeviceIntPtr /* pDev */ ,
ScreenPtr /*pScreen */ ,
WindowPtr /*pWindow */ );
@@ -584,7 +584,7 @@ typedef struct _Screen {
RecolorCursorProcPtr RecolorCursor;
SetCursorPositionProcPtr SetCursorPosition;
CursorWarpedToProcPtr CursorWarpedTo;
CurserConfinedToProcPtr CursorConfinedTo;
CursorConfinedToProcPtr CursorConfinedTo;
/* GC procedures */

View File

@@ -156,7 +156,7 @@
#define PCI_CLASS_I2O 0x0e
#define PCI_CLASS_SATELLITE 0x0f
#define PCI_CLASS_CRYPT 0x10
#define PCI_CLASS_DATA_ACQUISTION 0x11
#define PCI_CLASS_DATA_ACQUISITION 0x11
#define PCI_CLASS_UNDEFINED 0xff
/* sub class */

View File

@@ -622,7 +622,7 @@ AccessXFilterReleaseEvent(DeviceEvent *event, DeviceIntPtr keybd)
/* Don't transmit the KeyRelease if SlowKeys is turned on and
* the user didn't hold the key long enough. We know we passed
* the key if the down bit was set by CoreProcessKeyboadEvent.
* the key if the down bit was set by CoreProcessKeyboardEvent.
*/
if (ctrls->enabled_ctrls & XkbSlowKeysMask) {
xkbAccessXNotify ev;

View File

@@ -133,7 +133,7 @@ int XkbResizeKeyType(XkbDescPtr xkb, int type_ndx, int map_count,
void XkbFreeComponentNames(XkbComponentNamesPtr names, Bool freeNames);
void XkbSetActionKeyMods(XkbDescPtr xkb, XkbAction *act, unsigned int mods);
unsigned int XkbMaskForVMask(XkbDescPtr xkb, unsigned int vmask);
Bool XkbVirtualModsToReal(XkbDescPtr xkb, unsigned int virtua_mask,
Bool XkbVirtualModsToReal(XkbDescPtr xkb, unsigned int virtual_mask,
unsigned int *mask_rtrn);
unsigned int XkbAdjustGroup(int group, XkbControlsPtr ctrls);
KeySym *XkbResizeKeySyms(XkbDescPtr xkb, int key, int needed);