diff --git a/man/XAllowDeviceEvents.txt b/man/XAllowDeviceEvents.txt index 1120e3ddea2f996b2ac33fa7d8f72e29d692333d..5842c1218c6d914e4794547435e500f94c70e6f1 100644 --- a/man/XAllowDeviceEvents.txt +++ b/man/XAllowDeviceEvents.txt @@ -23,7 +23,7 @@ SYNOPSIS allowed. event_mode - Specifies the event mode.You can pass AsyncThisDevice, + Specifies the event mode. You can pass AsyncThisDevice, SyncThisDevice, ReplayThisDevice, AsyncOtherDevices, SyncAll, or AsyncAll. diff --git a/man/XGetDeviceKeyMapping.txt b/man/XGetDeviceKeyMapping.txt index 234358024a27cd491c1a02ee55895c549ef82317..dfa59fc8287c6ecfe2cce961fc580688b03df00e 100644 --- a/man/XGetDeviceKeyMapping.txt +++ b/man/XGetDeviceKeyMapping.txt @@ -101,7 +101,7 @@ DESCRIPTION special KeySym value of NoSymbol should be used to fill in unused elements for individual KeyCodes. It is legal for NoSymbol to appear in nontrailing positions of the effective - list for a KeyCode.XChangeDeviceKeyMapping generates a + list for a KeyCode. XChangeDeviceKeyMapping generates a DeviceMappingNotify event that is sent to all clients that have selected that type of event. diff --git a/man/XGetExtensionVersion.txt b/man/XGetExtensionVersion.txt index c7d45f40ae4bdaff5b9b625eef3b7ac9e5296e7a..53426fd322966a1b204c8871ae6b7fa0d195f0ab 100644 --- a/man/XGetExtensionVersion.txt +++ b/man/XGetExtensionVersion.txt @@ -19,7 +19,7 @@ SYNOPSIS name Specifies the extension to be queried. The input - extension name is definedin the header file XI.h. + extension name is defined in the header file XI.h. DESCRIPTION ----------- diff --git a/man/XGetFeedbackControl.txt b/man/XGetFeedbackControl.txt index a90db83716b63f054a5494b7d7a534eb86295b59..c4ef32253f78caad0a41b70e035c6483ffc8a64c 100644 --- a/man/XGetFeedbackControl.txt +++ b/man/XGetFeedbackControl.txt @@ -30,7 +30,7 @@ SYNOPSIS num_feedbacks Specifies an address into which the number of feedbacks - supported by thedevice is to be returned. + supported by the device is to be returned. mask Specifies a mask specific to each type of feedback that diff --git a/man/XGrabDevice.txt b/man/XGrabDevice.txt index cfe215f2eefeb8c268b81de25d4be47829652e0f..e1f74c1f457ecc63f176656d40a501c1ae09de3b 100644 --- a/man/XGrabDevice.txt +++ b/man/XGrabDevice.txt @@ -58,7 +58,7 @@ SYNOPSIS other_devices_mode Specifies further processing of events from other - devices.You can pass GrabModeSync or GrabModeAsync. + devices. You can pass GrabModeSync or GrabModeAsync. time Specifies the time. You can pass either a timestamp or @@ -70,7 +70,7 @@ DESCRIPTION The XGrabDevice request actively grabs control of the device and generates DeviceFocusIn and DeviceFocusOut events. Further device events are reported only to the grabbing - client.XGrabDevice overrides any active device grab by this + client. XGrabDevice overrides any active device grab by this client. event_list is a pointer to a list of event classes. This list indicates which events the client wishes to receive while the grab is active. If owner_events is False, all @@ -123,7 +123,7 @@ DESCRIPTION The XUngrabDevice request releases the device and any queued events if this client has it actively grabbed from either XGrabDevice or XGrabDeviceKey. If other devices are frozen by - the grab, XUngrabDevice thaws them.XUngrabDevice does not + the grab, XUngrabDevice thaws them. XUngrabDevice does not release the device and any queued events if the specified time is earlier than the last-device-grab time or is later than the current X server time. It also generates DeviceFocusIn and diff --git a/man/XGrabDeviceButton.txt b/man/XGrabDeviceButton.txt index ab64782f3905d2dbfcc3f4b59e93708064b14a4c..dcdc7b20021274df2bc222b9e6ec18816860de50 100644 --- a/man/XGrabDeviceButton.txt +++ b/man/XGrabDeviceButton.txt @@ -42,10 +42,10 @@ SYNOPSIS released or AnyButton. modifiers - Specifies the set of keymasks or AnyModifier.The mask is + 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, - Mod1Mask, Mod2Mask,Mod3Mask, Mod4Mask, Mod5Mask. + Valid bits are: ShiftMask, LockMask, ControlMask, + Mod1Mask, Mod2Mask, Mod3Mask, Mod4Mask, Mod5Mask. modifier_device specifies the device whose modifiers are to be used. If @@ -124,14 +124,15 @@ DESCRIPTION combination. XGrabDeviceButton has no effect on an active grab. XGrabDeviceButton can generate BadClass, BadDevice, BadMatch, - BadValue, and BadWindow errors..P The XUngrabDeviceButton - request releases the passive grab for a button/modifier - combination on the specified window if it was grabbed by this - client. A modifier of AnyModifier is equivalent to issuing the - ungrab request for all possible modifier combinations, - including the combination of no modifiers. A button of - AnyButton is equivalent to issuing the request for all possible - buttons. XUngrabDeviceButton has no effect on an active grab. + BadValue, and BadWindow errors. + + The XUngrabDeviceButton request releases the passive grab for a + button/modifier combination on the specified window if it was + grabbed by this client. A modifier of AnyModifier is equivalent to + issuing the ungrab request for all possible modifier combinations, + including the combination of no modifiers. A button of AnyButton is + equivalent to issuing the request for all possible buttons. + XUngrabDeviceButton has no effect on an active grab. A modifier_device of NULL indicates that the X keyboard should be used as the modifier_device. diff --git a/man/XGrabDeviceKey.txt b/man/XGrabDeviceKey.txt index ff86375b589d50c389eedad0539f79449b4c44c4..988b377c50a354709809cb345d728d7681355bda 100644 --- a/man/XGrabDeviceKey.txt +++ b/man/XGrabDeviceKey.txt @@ -42,10 +42,10 @@ SYNOPSIS or AnyKey. modifiers - Specifies the set of keymasks or AnyModifier.The mask is - the bitwise inclusive OR of the valid keymask bits.Valid + 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, Mod1Mask, - Mod2Mask,Mod3Mask, Mod4Mask, Mod5Mask. + Mod2Mask, Mod3Mask, Mod4Mask, Mod5Mask. modifier_device Specifies the device whose modifiers are to be used. If @@ -74,7 +74,7 @@ SYNOPSIS other_devices_mode Specifies further processing of events from other - devices. You can pass GrabModeSyncor GrabModeAsync. + devices. You can pass GrabModeSync or GrabModeAsync. DESCRIPTION ----------- @@ -126,7 +126,7 @@ DESCRIPTION BadAccess error results. When using AnyModifier or AnyKey, the request fails completely, and a BadAccess error results (no grabs are established) if there is a conflicting grab for any - combination.XGrabDeviceKey has no effect on an active grab. + combination. XGrabDeviceKey has no effect on an active grab. XGrabDeviceKey can generate BadAccess, BadClass, BadDevice, BadMatch, BadValue, and BadWindow errors. It returns Success on @@ -138,7 +138,7 @@ DESCRIPTION to issuing the ungrab request for all possible modifier combinations, including the combination of no modifiers. A Key of AnyKey is equivalent to issuing the request for all possible - Keys.XUngrabDeviceKey has no effect on an active grab. + Keys. XUngrabDeviceKey has no effect on an active grab. If a modifier_device of NULL is specified, the X keyboard will be used as the modifier_device. diff --git a/man/XIChangeHierarchy.txt b/man/XIChangeHierarchy.txt index cef826f689314ce633ea0edc753a876e371c8f17..05117067c5ba5c2e518c55c35969a31b532ce44d 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 b35d90f5e29d191e984e9bd1daeff14891cf6d72..c106e6a154ee0b55533bf451469f2d6d4f036c00 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 5203f05e36c50ebd0fb10f5dea9e6f690ee40e28..83fdcc0f90ef3ee2b17526a0afee7da2677ed389 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 352bc30ee52de57c78bb604202169c9107479864..232d73560ead599a8e896c400312c43dea423cca 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 dbfed7025cf82ff2bd1bdda4704e368a51de61e1..6d2f287e4576cb20a9dd2c3677fb1d0d62174d7d 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 8b856f42631756acd3a3528ac39163f7d65f9e2a..d8fff52736ebd2755ee294c8ad5266c772137dc1 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 fbeb5e71285fb0d80154a716f176b92ea75fcade..dee5dc74d41c18dcecb8277973dab2ef016f0460 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 95e0ac7544bdb33f5e585b7a7b39638f4aaf1d60..a2a9ec72683ea693bf6f22999f7133f0211cf052 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, diff --git a/man/XSendExtensionEvent.txt b/man/XSendExtensionEvent.txt index 710564e349a8ea6efdd09a49aa1acbb24db6f25a..efec173b8ea49885bfa6aa694dc85aba629f6eb9 100644 --- a/man/XSendExtensionEvent.txt +++ b/man/XSendExtensionEvent.txt @@ -28,7 +28,7 @@ SYNOPSIS destination Specifies the window the event is to be sent to. You can - pass window id, PointerWindow,or InputFocus. + pass window id, PointerWindow, or InputFocus. propagate Specifies a Boolean value that is either True or False. @@ -52,39 +52,39 @@ DESCRIPTION event class names, see XOpenDevice(libmansuffix) This request uses the w argument to identify the destination window as follows: - * If w is PointerWindow,the destination window is the window + * If w is PointerWindow, the destination window is the window that contains the pointer. - * If w is InputFocusand if the focus window contains the - pointer,the destination window is the window that contains + * If w is InputFocus and if the focus window contains the + pointer, the destination window is the window that contains the pointer; otherwise, the destination window is the focus window. To determine which clients should receive the specified events, - XSendExtensionEventuses the propagate argument as follows: - * If event_list is the empty set,the event is sent to the + XSendExtensionEvent uses the propagate argument as follows: + * If event_list is the empty set, the event is sent to the client that created the destination window. If that client - no longer exists,no event is sent. - * If propagate is False,the event is sent to every client - selecting on destination any of the eventtypes specified by + no longer exists, no event is sent. + * If propagate is False, the event is sent to every client + selecting on destination any of the event types specified by the event_list array. - * If propagate is Trueand no clients have selected on - destination any ofthe events specified by the event_list - array,the destination is replaced with theclosest ancestor - of destination for which some client has selected atype + * If propagate is True and no clients have selected on + destination any of the events specified by the event_list + array, the destination is replaced with the closest ancestor + of destination for which some client has selected a type specified by the event-list array and for which no - interveningwindow has that type in - itsdo-not-propagate-mask. If no such window exists or if - the window isan ancestor of the focus window and - InputFocuswas originally specifiedas the destination, the + intervening window has that type in + its do-not-propagate-mask. If no such window exists or if + the window is an ancestor of the focus window and + InputFocus was originally specified as the destination, the event is not sent to any clients. Otherwise, the event is - reported to every client selecting on the finaldestination + reported to every client selecting on the final destination any of the events specified in the event_list array. - The event in the XEventstructure must be one of the events - defined by the input extension (or a BadValueerror results) so - that the X server can correctly byte-swapthe contents as + The event in the XEvent structure must be one of the events + defined by the input extension (or a BadValue error results) so + that the X server can correctly byte-swap the contents as necessary. The contents of the event are otherwise unaltered and - unchecked by the X server except to force send_event to Truein + unchecked by the X server except to force send_event to True in the forwarded event and to set the serial number in the event correctly. diff --git a/man/XSetDeviceButtonMapping.txt b/man/XSetDeviceButtonMapping.txt index 4c1251cdbb2004ced4933d46467f1d36f1ea929a..36890fa501965b4961bd172585126e916c11ff21 100644 --- a/man/XSetDeviceButtonMapping.txt +++ b/man/XSetDeviceButtonMapping.txt @@ -60,7 +60,7 @@ DESCRIPTION The XGetDeviceButtonMapping request returns the current mapping of the specified device. Buttons are numbered starting from - one.XGetDeviceButtonMapping returns the number of physical + one. XGetDeviceButtonMapping returns the number of physical buttons actually on the device. The nominal mapping for a device is map[i]=i+1. The nmap argument specifies the length of the array where the device mapping is returned, and only the