diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-07-19 09:01:26 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-07-19 20:18:56 -0700 |
commit | 3576587ff10334a8f48c34b4fe5b7e829dec9a1b (patch) | |
tree | f3f105469ae8f2a0238f539a6ffbe761162e991b /specs | |
parent | 6d5ec492cd28c206423337f926503349702af5a6 (diff) | |
download | xorg-lib-libX11-3576587ff10334a8f48c34b4fe5b7e829dec9a1b.tar.gz |
specs/XKB: fixup newlines between tags and punctuation
Get rid of unwanted whitespace before punctuation by moving them to the
lines with the tags, instead of before & after.
perl -i -0 -p -e 's{\>\s*\n([\.,;:])}{>\1\n}g' *xml
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'specs')
-rw-r--r-- | specs/XKB/ch02.xml | 12 | ||||
-rw-r--r-- | specs/XKB/ch04.xml | 8 | ||||
-rw-r--r-- | specs/XKB/ch05.xml | 4 | ||||
-rw-r--r-- | specs/XKB/ch07.xml | 4 | ||||
-rw-r--r-- | specs/XKB/ch08.xml | 8 | ||||
-rw-r--r-- | specs/XKB/ch10.xml | 8 | ||||
-rw-r--r-- | specs/XKB/ch11.xml | 4 | ||||
-rw-r--r-- | specs/XKB/ch13.xml | 16 | ||||
-rw-r--r-- | specs/XKB/ch15.xml | 8 | ||||
-rw-r--r-- | specs/XKB/ch16.xml | 24 | ||||
-rw-r--r-- | specs/XKB/ch17.xml | 4 | ||||
-rw-r--r-- | specs/XKB/ch19.xml | 4 | ||||
-rw-r--r-- | specs/XKB/ch20.xml | 4 | ||||
-rw-r--r-- | specs/XKB/ch21.xml | 4 |
14 files changed, 56 insertions, 56 deletions
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. <para> <filename class="headerfile">XKBstr.h</filename> declares types and constants for Xkb. It is included automatically from -<filename class="headerfile"><X11/XKBlib.h></filename> -; you should never need to reference it directly in your application code. +<filename class="headerfile"><X11/XKBlib.h></filename>; + you should never need to reference it directly in your application code. </para> </listitem> <listitem> @@ -33,8 +33,8 @@ constants for Xkb. It is included automatically from <para> <filename class="headerfile">XKB.h</filename> defines constants for Xkb. It is included automatically from -<filename class="headerfile"><X11/XKBstr.h></filename> -; you should never need to reference it directly in your application code. +<filename class="headerfile"><X11/XKBstr.h></filename>; + you should never need to reference it directly in your application code. </para> </listitem> <listitem> @@ -284,8 +284,8 @@ The is present in the server. If a compatible extension is present, <function>XkbQueryExtension</function> returns -<symbol>True</symbol> -; otherwise, it returns +<symbol>True</symbol>; + otherwise, it returns <symbol>False</symbol>. </para> 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 -<function>XkbSelectEventDetails</function> -; in this case events are reported only when the specific detail conditions you +<function>XkbSelectEventDetails</function>; + in this case events are reported only when the specific detail conditions you specify have been met. </para> @@ -289,8 +289,8 @@ generated */ int xkb_type; /* Xkb minor event code */ unsigned int device; /* Xkb device ID, will not be <symbol>XkbUseCoreKbd</symbol> */ -} <structname>XkbAnyEvent</structname> -; +} <structname>XkbAnyEvent</structname>; + </programlisting></para> <para> 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 { <structfield>req_minor</structfield> non zero */ char req_major; /* major request code if program trigger, else 0 */ char req_minor; /* minor request code if program trigger, else 0 */ -} <structname>XkbStateNotifyEvent</structname> -; +} <structname>XkbStateNotifyEvent</structname>; + </programlisting></para> <para> 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, <function>XkbVirtualModsToReal</function> returns -<symbol>False</symbol> -; otherwise, it returns +<symbol>False</symbol>; + otherwise, it returns <symbol>True</symbol>. </para> 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 <structfield>groups</structfield> field is treated as a group mask. The keyboard group latch is changed to the lowest numbered group specified in -<structfield>groups</structfield> -; if +<structfield>groups</structfield>; + if <structfield>groups</structfield> is empty, the keyboard group latch is changed to zero. </entry> @@ -484,8 +484,8 @@ The <structfield>groups</structfield> 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 -<structfield>groups</structfield> -; if +<structfield>groups</structfield>; + if <structfield>groups</structfield> 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, <function>XkbChangeEnabledControls</function> returns -<symbol>False</symbol> -; otherwise, it sends the request to the X server and returns +<symbol>False</symbol>; + otherwise, it sends the request to the X server and returns <symbol>True</symbol>. </para> @@ -1098,8 +1098,8 @@ they have requested otherwise. and off it <parameter>detectable</parameter> is -<symbol>False</symbol> -; it then waits for a reply. If +<symbol>False</symbol>; + it then waits for a reply. If <parameter>supported_rtrn</parameter> is not <symbol>NULL</symbol>, 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 <para> <function>XkbSetXlibControls</function> modifies the state of the controls selected by -<parameter>bits_to_change</parameter> -; only the controls selected by +<parameter>bits_to_change</parameter>; + only the controls selected by <parameter>bits_to_change</parameter> are modified. If the bit corresponding to a control is on in <parameter>bits_to_change</parameter> 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.</para></note> <listitem> <para> The top-level keyboard geometry description includes a list of -<structfield>shapes</structfield> -; other keyboard components refer to shapes by their index in this list. A +<structfield>shapes</structfield>; + 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 <structfield>outlines</structfield>. All points in an outline are specified relative to the origin of its @@ -416,8 +416,8 @@ Rows in a Section</H5> <listitem> <para> An optional list of -<structfield>doodads</structfield> -; any type of doodad can be enclosed within a section. Position and angle of +<structfield>doodads</structfield>; + 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 <symbol>False</symbol> if any of the arguments is -<symbol>NULL</symbol> -; otherwise, it returns +<symbol>NULL</symbol>; + otherwise, it returns <symbol>True</symbol>. </para> @@ -1484,8 +1484,8 @@ that section. To update the bounding box of a section, use returns <symbol>False</symbol> if any of the arguments is -<symbol>NULL</symbol> -; otherwise, it returns +<symbol>NULL</symbol>; + otherwise, it returns <symbol>True</symbol>. </para> 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. <function>XkbResizeKeyType</function> updates only the local copy of the types in -<parameter>xkb</parameter> -; to update the server’s copy for the physical device, use +<parameter>xkb</parameter>; + to update the server’s copy for the physical device, use <function>XkbSetMap</function> or <function>XkbChangeMap</function> @@ -2023,8 +2023,8 @@ corresponding to <para> To obtain the symbols for a subset of the keys in a keyboard description, use -<function>XkbGetKeySyms</function> -: +<function>XkbGetKeySyms</function>: + </para> <indexterm significance="preferred" zone="XkbGetKeySyms"><primary><function>XkbGetKeySyms</function></primary></indexterm> 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 <listitem> <para> Key press and key release events have the same effect as for -<symbol>XkbSA_SetMods</symbol> -; if no keys are physically depressed when this key is released, key release +<symbol>XkbSA_SetMods</symbol>; + if no keys are physically depressed when this key is released, key release events have the following additional effects: </para> </listitem> @@ -1085,8 +1085,8 @@ key is released, the key release also sets the locked keyboard group to <listitem> <para> Key press and key release events have the same effect as for -<symbol>XkbSA_SetGroup</symbol> -; if no keys are physically depressed when this key is released, key release +<symbol>XkbSA_SetGroup</symbol>; + if no keys are physically depressed when this key is released, key release events have the following additional effects. </para> </listitem> @@ -1692,8 +1692,8 @@ If a key release generates a core pointer <symbol>ButtonRelease</symbol> that matches the event generated by the corresponding -<symbol>KeyPress</symbol> -; if +<symbol>KeyPress</symbol>; + if <structfield>count</structfield> is nonzero, a key release does not cause a <symbol>ButtonRelease</symbol> @@ -4154,8 +4154,8 @@ keyboard to implement the behavior. To obtain the behaviors (the <structfield>behaviors</structfield> array) for a subset of the keys in a keyboard description from the server, use -<function>XkbGetKeyBehaviors</function> -: +<function>XkbGetKeyBehaviors</function>: + </para> <indexterm significance="preferred" zone="XkbGetKeyBehaviors"><primary><function>XkbGetKeyBehaviors</function></primary></indexterm> @@ -4609,8 +4609,8 @@ Virtual Modifier Relationships</H5> To obtain a subset of the virtual modifier bindings (the <structfield>vmods</structfield> array) in a keyboard description, use -<function>XkbGetVirtualMods</function> -: +<function>XkbGetVirtualMods</function>: + </para> <indexterm significance="preferred" zone="XkbGetVirtualMods"><primary><function>XkbGetVirtualMods</function></primary></indexterm> @@ -4717,8 +4717,8 @@ to return To obtain the virtual modifier map (the <structfield>vmodmap</structfield> array) for a subset of the keys in a keyboard description, use -<function>XkbGetKeyVirtualModMap</function> -: +<function>XkbGetKeyVirtualModMap</function>: + </para> <indexterm significance="preferred" zone="XkbGetKeyVirtualModMap"><primary><function>XkbGetKeyVirtualModMap</function></primary></indexterm> 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 <symbol>XkbSI_LockingKey</symbol> is set, the key behavior is set to -<emphasis>KB_Lock</emphasis> -; otherwise, it is turned off (see <link linkend="Explicit_ComponentsAvoiding_Automatic_Remapping_by_the_Server">section 16.3</link>). +<emphasis>KB_Lock</emphasis>; + otherwise, it is turned off (see <link linkend="Explicit_ComponentsAvoiding_Automatic_Remapping_by_the_Server">section 16.3</link>). </para> 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 <structfield>device</structfield> contains the device identifier for the new device, but nothing definitive can be said for -<structfield>old_device</structfield> -; it may be identical to +<structfield>old_device</structfield>; + it may be identical to <structfield>device</structfield>, or it may be different, depending on the implementation. </para> 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 “<literal>%</literal>” entry) to ensure all of the following fields are non- -<symbol>NULL</symbol> -: +<symbol>NULL</symbol>: + <structfield>types</structfield>, <structfield>keycodes</structfield>, <structfield>symbols</structfield>, 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 <symbol>XkbUseCoreKbd</symbol> as the -<parameter>device_spec</parameter> -; the values will be returned in +<parameter>device_spec</parameter>; + the values will be returned in <structfield>dflt_kbd_fb</structfield> and <structfield>dflt_led_fb</structfield>. |