diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2020-07-05 13:07:33 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2020-07-05 13:07:33 -0700 |
commit | 23e83724df4809fd7857cc609c33ce7e8d3021a4 (patch) | |
tree | c3018d5ce5c474883b9a31aca33962d73a540bd8 /Xi | |
parent | b0413b6e99c6b5fbc04229ce64ddf1f41b08e63e (diff) | |
download | xserver-23e83724df4809fd7857cc609c33ce7e8d3021a4.tar.gz |
Fix spelling/wording issues
Most (but not all) of these were found by using
codespell --builtin clear,rare,usage,informal,code,names
but not everything reported by that was fixed.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'Xi')
-rw-r--r-- | Xi/closedev.c | 2 | ||||
-rw-r--r-- | Xi/exevents.c | 4 | ||||
-rw-r--r-- | Xi/grabdev.c | 2 | ||||
-rw-r--r-- | Xi/xiproperty.c | 6 |
4 files changed, 7 insertions, 7 deletions
diff --git a/Xi/closedev.c b/Xi/closedev.c index 199d38a5a..f68b5231a 100644 --- a/Xi/closedev.c +++ b/Xi/closedev.c @@ -108,7 +108,7 @@ DeleteDeviceEvents(DeviceIntPtr dev, WindowPtr pWin, ClientPtr client) /*********************************************************************** * - * Walk througth the window tree, deleting event selections for this client + * Walk through the window tree, deleting event selections for this client * from this device from all windows. * */ diff --git a/Xi/exevents.c b/Xi/exevents.c index 98319ad4d..41a4097cc 100644 --- a/Xi/exevents.c +++ b/Xi/exevents.c @@ -653,7 +653,7 @@ DeepCopyPointerClasses(DeviceIntPtr from, DeviceIntPtr to) * Copies the CONTENT of the classes of device from into the classes in device * to. From and to are identical after finishing. * - * If to does not have classes from currenly has, the classes are stored in + * If to does not have classes from currently has, the classes are stored in * to's devPrivates system. Later, we recover it again from there if needed. * Saves a few memory allocations. */ @@ -2667,7 +2667,7 @@ SendEvent(ClientPtr client, DeviceIntPtr d, Window dest, Bool propagate, return Success; /* If the input focus is PointerRootWin, send the event to where - * the pointer is if possible, then perhaps propogate up to root. */ + * the pointer is if possible, then perhaps propagate up to root. */ if (inputFocus == PointerRootWin) inputFocus = GetCurrentRootWindow(d); diff --git a/Xi/grabdev.c b/Xi/grabdev.c index eb4f9bfde..cb68cfa8d 100644 --- a/Xi/grabdev.c +++ b/Xi/grabdev.c @@ -153,7 +153,7 @@ ProcXGrabDevice(ClientPtr client) * set when XI starts up) and binary OR's the device's mask to whatever the * event mask for the given event type was. * If an error occurs, it is sent to the client. Errors are generated if - * - if the device given in the event classs is invalid + * - if the device given in the event class is invalid * - if the device in the class list is not the device given as parameter (no * error if parameter is NULL) * diff --git a/Xi/xiproperty.c b/Xi/xiproperty.c index 6ec419e87..a36f7d61d 100644 --- a/Xi/xiproperty.c +++ b/Xi/xiproperty.c @@ -414,7 +414,7 @@ XIResetProperties(void) * @param val The property value * @param nelem_return The maximum number of elements to return. * @param buf_return Pointer to an array of at least @nelem_return values. - * @return Success or the error code if an error occured. + * @return Success or the error code if an error occurred. */ _X_EXPORT int XIPropToInt(XIPropertyValuePtr val, int *nelem_return, int **buf_return) @@ -484,7 +484,7 @@ XIPropToInt(XIPropertyValuePtr val, int *nelem_return, int **buf_return) * @param val The property value * @param nelem_return The maximum number of elements to return. * @param buf_return Pointer to an array of at least @nelem_return values. - * @return Success or the error code if an error occured. + * @return Success or the error code if an error occurred. */ _X_EXPORT int XIPropToFloat(XIPropertyValuePtr val, int *nelem_return, float **buf_return) @@ -521,7 +521,7 @@ XIPropToFloat(XIPropertyValuePtr val, int *nelem_return, float **buf_return) /* Registers a new property handler on the given device and returns a unique * identifier for this handler. This identifier is required to unregister the * property handler again. - * @return The handler's identifier or 0 if an error occured. + * @return The handler's identifier or 0 if an error occurred. */ long XIRegisterPropertyHandler(DeviceIntPtr dev, |