From 8b4ea802fa3ba769dc8335f0e72c6f0cb7c9c35e Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 4 Oct 2020 13:48:06 -0700 Subject: man pages: fix more typos Signed-off-by: Alan Coopersmith --- man/XGrabDeviceButton.txt | 2 +- man/XIChangeHierarchy.txt | 4 ++-- man/XIChangeProperty.txt | 8 ++++---- man/XIGrabEnter.txt | 2 +- man/XIQueryDevice.txt | 2 +- man/XISetFocus.txt | 2 +- man/XListInputDevices.txt | 2 +- man/XOpenDevice.txt | 2 +- man/XSelectExtensionEvent.txt | 2 +- 9 files changed, 13 insertions(+), 13 deletions(-) diff --git a/man/XGrabDeviceButton.txt b/man/XGrabDeviceButton.txt index 2054449..dcdc7b2 100644 --- a/man/XGrabDeviceButton.txt +++ b/man/XGrabDeviceButton.txt @@ -44,7 +44,7 @@ SYNOPSIS modifiers Specifies the set of keymasks or AnyModifier. The mask is the bitwise inclusive OR of the valid keymask bits. - Valid bits are: Shiftmask, LockMask, ControlMask, + Valid bits are: ShiftMask, LockMask, ControlMask, Mod1Mask, Mod2Mask, Mod3Mask, Mod4Mask, Mod5Mask. modifier_device diff --git a/man/XIChangeHierarchy.txt b/man/XIChangeHierarchy.txt index cef826f..0511706 100644 --- a/man/XIChangeHierarchy.txt +++ b/man/XIChangeHierarchy.txt @@ -77,7 +77,7 @@ DESCRIPTION } XIDetachSlaveInfo; XIAddMasterInfo creates a new master pointer and a new - master keyboard labelled "name pointer" and "name keyboard" + master keyboard labeled "name pointer" and "name keyboard" respectively. If sendCore is True, the devices will send core events. If enable is True, the device is enabled immediately. @@ -99,7 +99,7 @@ DESCRIPTION XIAttachSlaveInfo can generate a BadDevice error. - XIDettachSlaveInfo deattaches device from the current master + XIDetachSlaveInfo detaches device from the current master device and sets it floating. If the device is already floating, no changes are made. diff --git a/man/XIChangeProperty.txt b/man/XIChangeProperty.txt index b35d90f..c106e6a 100644 --- a/man/XIChangeProperty.txt +++ b/man/XIChangeProperty.txt @@ -39,8 +39,8 @@ SYNOPSIS unsigned char **data) bytes_after_return - Returns the number of bytes remaining to be read in the prop- - erty if a partial read was performed. + Returns the number of bytes remaining to be read in the property + if a partial read was performed. data Specifies the property data. @@ -142,8 +142,8 @@ unread bytes in the stored property. If the returned format is 8, the returned data is represented as a char array. If the returned format is 16, the returned data is represented -as a uint16_t array and should be cast to that type to obtain the ele- -ments. If the returned format is 32, the returned data is represented +as a uint16_t array and should be cast to that type to obtain the elements. +If the returned format is 32, the returned data is represented as a uint32_t array and should be cast to that type to obtain the elements. XIGetProperty always allocates one extra byte in prop_return (even diff --git a/man/XIGrabEnter.txt b/man/XIGrabEnter.txt index 5203f05..83fdcc0 100644 --- a/man/XIGrabEnter.txt +++ b/man/XIGrabEnter.txt @@ -131,7 +131,7 @@ DESCRIPTION When using XIAnyModifier, the request fails completely, and a XIBadAccess error results (no grabs are established) if there is a conflicting grab for any combination. XIGrabEnter and - XIGrabFocusin have no effect on an active grab. + XIGrabFocusIn have no effect on an active grab. On success, XIGrabEnter and XIGrabFocusIn return 0; If one or more modifier combinations could not be grabbed, diff --git a/man/XIQueryDevice.txt b/man/XIQueryDevice.txt index 352bc30..232d735 100644 --- a/man/XIQueryDevice.txt +++ b/man/XIQueryDevice.txt @@ -247,7 +247,7 @@ DESCRIPTION The mode field is either XIDirectTouch for direct-input touch devices such as touchscreens or XIDependentTouch for indirect input devices such as touchpads. For XIDirectTouch devices, touch events are sent to window - at the position the touch occured. For XIDependentTouch devices, touch + at the position the touch occurred. For XIDependentTouch devices, touch events are sent to the window at the position of the device's sprite. The num_touches field defines the maximum number of simultaneous touches diff --git a/man/XISetFocus.txt b/man/XISetFocus.txt index dbfed70..6d2f287 100644 --- a/man/XISetFocus.txt +++ b/man/XISetFocus.txt @@ -38,7 +38,7 @@ SYNOPSIS DESCRIPTION ----------- - XISetFocus changes the focus of the specified device ans its + XISetFocus changes the focus of the specified device and its last-focus-change time. It has no effect if the specified time is earlier than the current last-focus-change time or is later than the current X server time. Otherwise, the diff --git a/man/XListInputDevices.txt b/man/XListInputDevices.txt index 8b856f4..d8fff52 100644 --- a/man/XListInputDevices.txt +++ b/man/XListInputDevices.txt @@ -42,7 +42,7 @@ DESCRIPTION represent a physical device. It is visually represented through a cursor. A master keyboard is a virtual keyboard device that does not represent a physical device. It is virtually - representd through a keyboard focus. A master pointer and a + represented through a keyboard focus. A master pointer and a master keyboard are always paired (i.e. if shift is pressed on the master keyboard, a pointer click would be a shift-click). Multiple master pointer/keyboard pairs can exist. diff --git a/man/XOpenDevice.txt b/man/XOpenDevice.txt index fbeb5e7..dee5dc7 100644 --- a/man/XOpenDevice.txt +++ b/man/XOpenDevice.txt @@ -80,7 +80,7 @@ Structures used by macros to obtain the event classes that clients use in making XSelectExtensionEvent requests. Currently defined macros include DeviceKeyPress, DeviceKeyRelease, DeviceButtonPress, - DeviceButtonRelese, DeviceMotionNotify, DeviceFocusIn, + DeviceButtonRelease, DeviceMotionNotify, DeviceFocusIn, DeviceFocusOut, ProximityIn, ProximityOut, DeviceStateNotify, DeviceMappingNotify, ChangeDeviceNotify, DevicePointerMotionHint, DeviceButton1Motion, diff --git a/man/XSelectExtensionEvent.txt b/man/XSelectExtensionEvent.txt index 95e0ac7..a2a9ec7 100644 --- a/man/XSelectExtensionEvent.txt +++ b/man/XSelectExtensionEvent.txt @@ -84,7 +84,7 @@ DESCRIPTION XOpenDevice is used by macros to obtain the event classes that clients use in making XSelectExtensionEvent requests. Currently defined macros include DeviceKeyPress, DeviceKeyRelease, - DeviceButtonPress, DeviceButtonRelese, DeviceMotionNotify, + DeviceButtonPress, DeviceButtonRelease, DeviceMotionNotify, DeviceFocusIn, DeviceFocusOut, ProximityIn, ProximityOut, DeviceStateNotify, DeviceMappingNotify, ChangeDeviceNotify, DevicePointerMotionHint, DeviceButton1Motion, -- cgit v1.2.3