diff --git a/specs/XKB/ch02.xml b/specs/XKB/ch02.xml index e7d58f56..8ea7b2fa 100644 --- a/specs/XKB/ch02.xml +++ b/specs/XKB/ch02.xml @@ -22,8 +22,8 @@ functions. XKBstr.h declares types and constants for Xkb. It is included automatically from -<X11/XKBlib.h> -; you should never need to reference it directly in your application code. +<X11/XKBlib.h>; + you should never need to reference it directly in your application code. @@ -33,8 +33,8 @@ constants for Xkb. It is included automatically from XKB.h defines constants for Xkb. It is included automatically from -<X11/XKBstr.h> -; you should never need to reference it directly in your application code. +<X11/XKBstr.h>; + you should never need to reference it directly in your application code. @@ -284,8 +284,8 @@ The is present in the server. If a compatible extension is present, XkbQueryExtension returns -True -; otherwise, it returns +True; + otherwise, it returns False. diff --git a/specs/XKB/ch04.xml b/specs/XKB/ch04.xml index 14e5c265..e5e46f70 100644 --- a/specs/XKB/ch04.xml +++ b/specs/XKB/ch04.xml @@ -33,8 +33,8 @@ calling either requests Xkb events by their event type and causes them to be reported to your client application under all circumstances. You can specify a finer granularity for event reporting by using -XkbSelectEventDetails -; in this case events are reported only when the specific detail conditions you +XkbSelectEventDetails; + in this case events are reported only when the specific detail conditions you specify have been met. @@ -289,8 +289,8 @@ generated */ int xkb_type; /* Xkb minor event code */ unsigned int device; /* Xkb device ID, will not be XkbUseCoreKbd */ -} XkbAnyEvent -; +} XkbAnyEvent; + diff --git a/specs/XKB/ch05.xml b/specs/XKB/ch05.xml index 570ed1b3..b9599a38 100644 --- a/specs/XKB/ch05.xml +++ b/specs/XKB/ch05.xml @@ -991,8 +991,8 @@ typedef struct { req_minor non zero */ char req_major; /* major request code if program trigger, else 0 */ char req_minor; /* minor request code if program trigger, else 0 */ -} XkbStateNotifyEvent -; +} XkbStateNotifyEvent; + diff --git a/specs/XKB/ch07.xml b/specs/XKB/ch07.xml index 053fee2b..2709ece4 100644 --- a/specs/XKB/ch07.xml +++ b/specs/XKB/ch07.xml @@ -324,8 +324,8 @@ description in does not include virtual modifier bindings, XkbVirtualModsToReal returns -False -; otherwise, it returns +False; + otherwise, it returns True. diff --git a/specs/XKB/ch08.xml b/specs/XKB/ch08.xml index 6fb5c891..65791abf 100644 --- a/specs/XKB/ch08.xml +++ b/specs/XKB/ch08.xml @@ -470,8 +470,8 @@ The groups field is treated as a group mask. The keyboard group latch is changed to the lowest numbered group specified in -groups -; if +groups; + if groups is empty, the keyboard group latch is changed to zero. @@ -484,8 +484,8 @@ The groups field is treated as a group mask. If the indicator is explicitly extinguished, keyboard group latch is changed to the lowest numbered group not specified in -groups -; if +groups; + if groups is zero, the keyboard group latch is set to the index of the highest legal keyboard group. diff --git a/specs/XKB/ch10.xml b/specs/XKB/ch10.xml index 3243122c..0151f9ac 100644 --- a/specs/XKB/ch10.xml +++ b/specs/XKB/ch10.xml @@ -322,8 +322,8 @@ If the X server does not support a compatible version of Xkb or the Xkb extension has not been properly initialized, XkbChangeEnabledControls returns -False -; otherwise, it sends the request to the X server and returns +False; + otherwise, it sends the request to the X server and returns True. @@ -1098,8 +1098,8 @@ they have requested otherwise. and off it detectable is -False -; it then waits for a reply. If +False; + it then waits for a reply. If supported_rtrn is not NULL, diff --git a/specs/XKB/ch11.xml b/specs/XKB/ch11.xml index d0c236ad..a04defc8 100644 --- a/specs/XKB/ch11.xml +++ b/specs/XKB/ch11.xml @@ -557,8 +557,8 @@ To change the state of the Library Controls, use XkbSetXlibControls modifies the state of the controls selected by -bits_to_change -; only the controls selected by +bits_to_change; + only the controls selected by bits_to_change are modified. If the bit corresponding to a control is on in bits_to_change diff --git a/specs/XKB/ch13.xml b/specs/XKB/ch13.xml index 558155d3..55b6cf99 100644 --- a/specs/XKB/ch13.xml +++ b/specs/XKB/ch13.xml @@ -144,8 +144,8 @@ considering key aliases supplied by the keycodes. The top-level keyboard geometry description includes a list of -shapes -; other keyboard components refer to shapes by their index in this list. A +shapes; + other keyboard components refer to shapes by their index in this list. A shape consists of an arbitrary name of type Atom and one or more closed-polygon outlines. All points in an outline are specified relative to the origin of its @@ -416,8 +416,8 @@ Rows in a Section An optional list of -doodads -; any type of doodad can be enclosed within a section. Position and angle of +doodads; + any type of doodad can be enclosed within a section. Position and angle of rotation are relative to the origin and angle of rotation of the sections that contain them. Priority for doodads in a section is relative to the other components of the section, not to the keyboard as a whole. @@ -1427,8 +1427,8 @@ and updates the bounding box of the row if necessary. returns False if any of the arguments is -NULL -; otherwise, it returns +NULL; + otherwise, it returns True. @@ -1484,8 +1484,8 @@ that section. To update the bounding box of a section, use returns False if any of the arguments is -NULL -; otherwise, it returns +NULL; + otherwise, it returns True. diff --git a/specs/XKB/ch15.xml b/specs/XKB/ch15.xml index d22b0107..5e908ce4 100644 --- a/specs/XKB/ch15.xml +++ b/specs/XKB/ch15.xml @@ -932,8 +932,8 @@ To change the number of levels in a key type, use if necessary. XkbResizeKeyType updates only the local copy of the types in -xkb -; to update the server’s copy for the physical device, use +xkb; + to update the server’s copy for the physical device, use XkbSetMap or XkbChangeMap @@ -2023,8 +2023,8 @@ corresponding to To obtain the symbols for a subset of the keys in a keyboard description, use -XkbGetKeySyms -: +XkbGetKeySyms: + XkbGetKeySyms diff --git a/specs/XKB/ch16.xml b/specs/XKB/ch16.xml index a1eade8d..a86c47a4 100644 --- a/specs/XKB/ch16.xml +++ b/specs/XKB/ch16.xml @@ -719,8 +719,8 @@ If no other keys are physically depressed when this key is released, and Key press and key release events have the same effect as for -XkbSA_SetMods -; if no keys are physically depressed when this key is released, key release +XkbSA_SetMods; + if no keys are physically depressed when this key is released, key release events have the following additional effects: @@ -1085,8 +1085,8 @@ key is released, the key release also sets the locked keyboard group to Key press and key release events have the same effect as for -XkbSA_SetGroup -; if no keys are physically depressed when this key is released, key release +XkbSA_SetGroup; + if no keys are physically depressed when this key is released, key release events have the following additional effects. @@ -1692,8 +1692,8 @@ If a key release generates a core pointer ButtonRelease that matches the event generated by the corresponding -KeyPress -; if +KeyPress; + if count is nonzero, a key release does not cause a ButtonRelease @@ -4154,8 +4154,8 @@ keyboard to implement the behavior. To obtain the behaviors (the behaviors array) for a subset of the keys in a keyboard description from the server, use -XkbGetKeyBehaviors -: +XkbGetKeyBehaviors: + XkbGetKeyBehaviors @@ -4609,8 +4609,8 @@ Virtual Modifier Relationships To obtain a subset of the virtual modifier bindings (the vmods array) in a keyboard description, use -XkbGetVirtualMods -: +XkbGetVirtualMods: + XkbGetVirtualMods @@ -4717,8 +4717,8 @@ to return To obtain the virtual modifier map (the vmodmap array) for a subset of the keys in a keyboard description, use -XkbGetKeyVirtualModMap -: +XkbGetKeyVirtualModMap: + XkbGetKeyVirtualModMap diff --git a/specs/XKB/ch17.xml b/specs/XKB/ch17.xml index 94368139..813bfa05 100644 --- a/specs/XKB/ch17.xml +++ b/specs/XKB/ch17.xml @@ -676,8 +676,8 @@ If the Xkb keyboard map for the key does not have its bit. If XkbSI_LockingKey is set, the key behavior is set to -KB_Lock -; otherwise, it is turned off (see section 16.3). +KB_Lock; + otherwise, it is turned off (see section 16.3). diff --git a/specs/XKB/ch19.xml b/specs/XKB/ch19.xml index fa0d54f5..5cf4c40f 100644 --- a/specs/XKB/ch19.xml +++ b/specs/XKB/ch19.xml @@ -317,8 +317,8 @@ If the keyboard change is the result of an device contains the device identifier for the new device, but nothing definitive can be said for -old_device -; it may be identical to +old_device; + it may be identical to device, or it may be different, depending on the implementation. diff --git a/specs/XKB/ch20.xml b/specs/XKB/ch20.xml index a8ac1c2e..70191d09 100644 --- a/specs/XKB/ch20.xml +++ b/specs/XKB/ch20.xml @@ -804,8 +804,8 @@ the server modifies if necessary (again using a “%” entry) to ensure all of the following fields are non- -NULL -: +NULL: + types, keycodes, symbols, diff --git a/specs/XKB/ch21.xml b/specs/XKB/ch21.xml index 9dd21654..5e57d31f 100644 --- a/specs/XKB/ch21.xml +++ b/specs/XKB/ch21.xml @@ -132,8 +132,8 @@ keyboard feedback and the core indicator feedback may be obtained by calling and specifying XkbUseCoreKbd as the -device_spec -; the values will be returned in +device_spec; + the values will be returned in dflt_kbd_fb and dflt_led_fb.