treewide: fix typos

Signed-off-by: Diego Viola <diego.viola@gmail.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2138>
This commit is contained in:
Diego Viola
2026-03-10 04:19:59 -03:00
committed by Enrico Weigelt, metux IT consult
parent 531361b0ed
commit b8bbfed7a6
7 changed files with 8 additions and 8 deletions

View File

@@ -1499,7 +1499,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

@@ -303,7 +303,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

@@ -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

@@ -1128,7 +1128,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

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

View File

@@ -623,7 +623,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;