summaryrefslogtreecommitdiff
path: root/specs
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2010-07-08 20:56:41 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2010-07-08 20:56:41 -0700
commit5527b4bc8ce7de60123eb28789ddef54aa48a378 (patch)
treeae4d1230d758be272f89f7163f18712612200833 /specs
parentd66d2134dfc38cd866c7c2d9ea45ed4b4dad23f0 (diff)
specs/libX11: Move punctuation outside of the <function> tags
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'specs')
-rw-r--r--specs/libX11/AppC.xml148
-rw-r--r--specs/libX11/AppD.xml114
-rw-r--r--specs/libX11/CH01.xml28
-rw-r--r--specs/libX11/CH02.xml156
-rw-r--r--specs/libX11/CH03.xml268
-rw-r--r--specs/libX11/CH04.xml134
-rw-r--r--specs/libX11/CH05.xml30
-rw-r--r--specs/libX11/CH06.xml374
-rw-r--r--specs/libX11/CH07.xml328
-rw-r--r--specs/libX11/CH08.xml294
-rw-r--r--specs/libX11/CH09.xml130
-rw-r--r--specs/libX11/CH10.xml594
-rw-r--r--specs/libX11/CH11.xml166
-rw-r--r--specs/libX11/CH12.xml396
-rw-r--r--specs/libX11/CH13.xml510
-rw-r--r--specs/libX11/CH14.xml216
-rw-r--r--specs/libX11/CH15.xml130
-rw-r--r--specs/libX11/CH16.xml208
-rw-r--r--specs/libX11/glossary.xml8
19 files changed, 2116 insertions, 2116 deletions
diff --git a/specs/libX11/AppC.xml b/specs/libX11/AppC.xml
index 420d7f9..35f9bac 100644
--- a/specs/libX11/AppC.xml
+++ b/specs/libX11/AppC.xml
@@ -41,7 +41,7 @@ Basic Protocol Support Routines
The basic protocol requests for extensions are
<function>XQueryExtension</function>
and
-<function>XListExtensions .</function>
+<function>XListExtensions</function>.
</para>
<indexterm significance="preferred"><primary>XQueryExtension</primary></indexterm>
<!-- .sM -->
@@ -98,9 +98,9 @@ function determines if the named extension is present.
If the extension is not present,
<function>XQueryExtension</function>
returns
-<function>False ;</function>
+<function>False</function>;
otherwise, it returns
-<function>True .</function>
+<function>True</function>.
If the extension is present,
<function>XQueryExtension</function>
returns the major opcode for the extension to major_opcode_return;
@@ -198,7 +198,7 @@ Specifies the list of extension names.
The
<function>XFreeExtensionList</function>
function frees the memory allocated by
-<function>XListExtensions .</function>
+<function>XListExtensions</function>.
<!-- .SH -->
Hooking into Xlib
</para>
@@ -801,15 +801,15 @@ functions allow you to define new events to the library.
An
<function>XEvent</function>
structure always has a type code (type
-<function>int )</function>
+<function>int</function>)
as the first component.
This uniquely identifies what kind of event it is.
The second component is always the serial number (type
<function>unsigned</function>
-<function>long )</function>
+<function>long</function>)
of the last request processed by the server.
The third component is always a Boolean (type
-<function>Bool )</function>
+<function>Bool</function>)
indicating whether the event came from a
<function>SendEvent</function>
protocol request.
@@ -880,9 +880,9 @@ The
<function>XESetWireToEvent</function>
function defines a procedure to be called when an event
needs to be converted from wire format
-<function>( xEvent )</function>
+(<function>xEvent</function>)
to host format
-<function>( XEvent ).</function>
+(<function>XEvent</function>).
The event number defines which protocol event number to install a
conversion procedure for.
<function>XESetWireToEvent</function>
@@ -1036,9 +1036,9 @@ The
<function>XESetEventToWire</function>
function defines a procedure to be called when an event
needs to be converted from host format
-<function>( XEvent ) </function>
+(<function>XEvent</function>)
to wire format
-<function>( xEvent )</function>
+(<function>xEvent</function>)
form.
The event number defines which protocol event number to install a
conversion procedure for.
@@ -1173,9 +1173,9 @@ If the error is to be completely ignored by Xlib
(for example, several protocol error structures will be combined into
one Xlib error),
then the function should return
-<function>False ;</function>
+<function>False</function>;
otherwise, it should return
-<function>True .</function>
+<function>True</function>.
<indexterm significance="preferred"><primary>XESetError</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1232,7 +1232,7 @@ case, and are typically programmed to be synchronous).
<para>
<!-- .LP -->
When Xlib detects a protocol error in
-<function>_XReply , </function>
+<function>_XReply</function>,
it calls your procedure with these arguments:
</para>
<para>
@@ -1425,7 +1425,7 @@ The structure pointed at by ev is guaranteed to be as large as an
structure and so can be cast to a type larger than an
<function>XErrorEvent</function>
to obtain additional values set by using
-<function>XESetWireToError .</function>
+<function>XESetWireToError</function>.
The underlying type of the fp argument is system dependent;
on a <acronym>POSIX</acronym>-compliant system, fp should be cast to type FILE*.
<indexterm significance="preferred"><primary>XESetFlushGC</primary></indexterm>
@@ -1562,13 +1562,13 @@ Hooks onto Xlib Data Structures
Various Xlib data structures have provisions for extension procedures
to chain extension supplied data onto a list.
These structures are
-<function>GC , </function>
-<function>Visual , </function>
-<function>Screen , </function>
-<function>ScreenFormat , </function>
-<function>Display , </function>
+<function>GC</function>,
+<function>Visual</function>,
+<function>Screen</function>,
+<function>ScreenFormat</function>,
+<function>Display</function>,
and
-<function>XFontStruct .</function>
+<function>XFontStruct</function>.
Because the list pointer is always the first member in the structure,
a single set of procedures can be used to manipulate the data
on these lists.
@@ -1650,11 +1650,11 @@ The
function returns a pointer to the list of extension structures attached
to the specified object.
In concert with
-<function>XAddToExtensionList ,</function>
+<function>XAddToExtensionList</function>,
<function>XEHeadOfExtensionList</function>
allows an extension to attach arbitrary data to any of the structures
of types contained in
-<function>XEDataObject .</function>
+<function>XEDataObject</function>.
</para>
<para>
<!-- .LP -->
@@ -1726,7 +1726,7 @@ Specifies the extension list.
<listitem>
<para>
Specifies the extension number from
-<function>XInitExtension .</function>
+<function>XInitExtension</function>.
</para>
</listitem>
</varlistentry>
@@ -1958,7 +1958,7 @@ single calls to be transformed into poly requests.
This may dramatically improve performance of programs that are not
written using poly requests.
A pointer to an
-<function>xReq ,</function>
+<function>xReq</function>,
called last_req in the display structure, is the last request being processed.
By checking that the last request
type, drawable, gc, and other options are the same as the new one
@@ -2174,16 +2174,16 @@ Instead, such requests use the
structure in
&lt;X11/Xproto.h&gt;.
This structure is used for any request whose single argument is a
-<function>Window , </function>
-<function>Pixmap ,</function>
-<function>Drawable , </function>
-<function>GContext , </function>
-<function>Font , </function>
-<function>Cursor , </function>
-<function>Colormap , </function>
-<function>Atom , </function>
+<function>Window</function>,
+<function>Pixmap</function>,
+<function>Drawable</function>,
+<function>GContext</function>,
+<function>Font</function>,
+<function>Cursor</function>,
+<function>Colormap</function>,
+<function>Atom</function>,
or
-<function>VisualID .</function>
+<function>VisualID</function>.
</para>
<para>
<!-- .LP -->
@@ -2280,9 +2280,9 @@ The reply structure is longer than 32 bytes.
<para>
<!-- .LP -->
Only
-<function>GetWindowAttributes , </function>
-<function>QueryFont , </function>
-<function>QueryKeymap , </function>
+<function>GetWindowAttributes</function>,
+<function>QueryFont</function>,
+<function>QueryKeymap</function>,
and
<function>GetKeyboardControl </function>
have reply structures longer than 32 bytes in the core protocol.
@@ -2383,11 +2383,11 @@ Sending the Protocol Request and Arguments
After the variable declarations,
a stub procedure should call one of four macros defined in
&lt;X11/Xlibint.h&gt;:
-<function>GetReq , </function>
-<function>GetReqExtra , </function>
-<function>GetResReq , </function>
+<function>GetReq</function>,
+<function>GetReqExtra</function>,
+<function>GetResReq</function>,
or
-<function>GetEmptyReq . </function>
+<function>GetEmptyReq</function>.
All of these macros take, as their first argument,
the name of the protocol request as declared in
&lt;X11/Xproto.h&gt;
@@ -2404,7 +2404,7 @@ fills in its type and length field, and sets req to point to it.
<!-- .LP -->
If the protocol request has no arguments (for instance, X_GrabServer),
then use
-<function>GetEmptyReq .</function>
+<function>GetEmptyReq</function>.
</para>
<para>
<!-- .LP -->
@@ -2413,13 +2413,13 @@ then use
GetEmptyReq (DoSomething, req);
</literallayout>
If the protocol request has a single 32-bit argument (such as a
-<function>Pixmap , </function>
-<function>Window , </function>
-<function>Drawable , </function>
-<function>Atom , </function>
+<function>Pixmap</function>,
+<function>Window</function>,
+<function>Drawable</function>,
+<function>Atom</function>,
and so on),
then use
-<function>GetResReq . </function>
+<function>GetResReq</function>.
The second argument to the macro is the 32-bit object.
<function>X_MapWindow </function>
is a good example.
@@ -2431,17 +2431,17 @@ is a good example.
GetResReq (DoSomething, rid, req);
</literallayout>
The rid argument is the
-<function>Pixmap , </function>
-<function>Window , </function>
+<function>Pixmap</function>,
+<function>Window</function>,
or other resource ID.
</para>
<para>
<!-- .LP -->
If the protocol request takes any other argument list,
then call
-<function>GetReq . </function>
+<function>GetReq</function>.
After the
-<function>GetReq , </function>
+<function>GetReq</function>,
you need to set all the other fields in the request structure,
usually from arguments to the stub procedure.
</para>
@@ -2458,7 +2458,7 @@ req-&gt;arg2 = arg2;
A few stub procedures (such as
<function>XCreateGC </function>
and
-<function>XCreatePixmap ) </function>
+<function>XCreatePixmap</function>)
return a resource ID to the caller but pass a resource ID as an argument
to the protocol request.
Such procedures use the macro
@@ -2479,13 +2479,13 @@ data after the request.
Typically, these procedures (such as
<function>XMoveWindow </function>
and
-<function>XSetBackground ) </function>
+<function>XSetBackground</function>)
are special cases of more general functions like
<function>XMoveResizeWindow </function>
and
-<function>XChangeGC . </function>
+<function>XChangeGC</function>.
These procedures use
-<function>GetReqExtra , </function>
+<function>GetReqExtra</function>,
which is the same as
<function>GetReq</function>
except that it takes an additional argument (the number of
@@ -2528,7 +2528,7 @@ If it does not fit, however,
the
<function>Data </function>
macro calls
-<function>_XSend , </function>
+<function>_XSend</function>,
which transmits first the contents of the buffer and then your data.
The
<function>Data </function>
@@ -2548,8 +2548,8 @@ and the number of bytes to be sent.
<para>
<!-- .LP -->
<!-- .eM -->
-<function>Data ,</function>
-<function>Data16 ,</function>
+<function>Data</function>,
+<function>Data16</function>,
and
<function>Data32</function>
are macros that may use their last argument
@@ -2571,7 +2571,7 @@ macro.
takes the same arguments, but because it sends your data immediately instead of
copying it into the output buffer (which would later be flushed
anyway by the following call on
-<function>_XReply ), </function>
+<function>_XReply</function>),
it is faster.
<!-- .SH -->
Replies
@@ -2676,7 +2676,7 @@ A pointer to a reply structure (which must be cast to an
<listitem>
<para>
The number of additional 32-bit words (beyond
-<function>sizeof( xReply ) </function>
+<function>sizeof( xReply</function>)
= 32 bytes)
in the reply structure
</para>
@@ -2695,11 +2695,11 @@ beyond those it was told to read
Because most reply structures are 32 bytes long,
the third argument is usually 0.
The only core protocol exceptions are the replies to
-<function>GetWindowAttributes , </function>
-<function>QueryFont , </function>
-<function>QueryKeymap , </function>
+<function>GetWindowAttributes</function>,
+<function>QueryFont</function>,
+<function>QueryKeymap</function>,
and
-<function>GetKeyboardControl ,</function>
+<function>GetKeyboardControl</function>,
which have longer replies.
</para>
<para>
@@ -2752,7 +2752,7 @@ If there is variable-length data after the reply,
change the
<function>True </function>
to
-<function>False , </function>
+<function>False</function>,
and use the appropriate
<function>_XRead </function>
function to read the variable-length data.
@@ -3041,9 +3041,9 @@ Synchronous Calling
<!-- .LP -->
Each procedure should have a call, just before returning to the user,
to a macro called
-<function>SyncHandle .</function>
+<function>SyncHandle</function>.
If synchronous mode is enabled (see
-<function>XSynchronize ), </function>
+<function>XSynchronize</function>),
the request is sent immediately.
The library, however, waits until any error the procedure could generate
at the server has been handled.
@@ -3120,7 +3120,7 @@ or
<function>Data</function>
families of macros,
after any use of
-<function>_XReply ,</function>
+<function>_XReply</function>,
or after any use of the
<function>_XSend</function>
or
@@ -3219,7 +3219,7 @@ Specifies the size of the buffer.
<!-- .LP -->
<!-- .eM -->
You must pass back the same pointer and size that were returned by
-<function>_XAllocTemp .</function>
+<function>_XAllocTemp</function>.
<!-- .SH -->
Portability Considerations
</para>
@@ -3255,7 +3255,7 @@ in the protocol, be sure to declare it as
<function>unsigned</function>
<function>int</function>
and not as
-<function>int .</function>
+<function>int</function>.
(This, of course, does not apply to Booleans or enumerations.)
</para>
<para>
@@ -3270,11 +3270,11 @@ declare it as an
and not as
<function>int</function>
or
-<function>long .</function>
+<function>long</function>.
This also goes for any internal variables that may
take on values larger than the maximum 16-bit
<function>unsigned</function>
-<function>int .</function>
+<function>int</function>.
</para>
<para>
<!-- .LP -->
@@ -3310,7 +3310,7 @@ in
&lt;stdio.h&gt;
and is the number of file descriptors supported on the system)
of type
-<function>XExtCodes .</function>
+<function>XExtCodes</function>.
Make sure these are all initialized to NULL.
</para>
</listitem>
@@ -3327,7 +3327,7 @@ Call your initialization procedure and pass to it the display pointer.
<listitem>
<para>
Once in your initialization procedure, call
-<function>XInitExtension ;</function>
+<function>XInitExtension</function>;
if it succeeds, store the pointer returned into this array.
Make sure to establish a close display handler to allow you to zero the entry.
Do whatever other initialization your extension requires.
diff --git a/specs/libX11/AppD.xml b/specs/libX11/AppD.xml
index 7d358f9..25e23ca 100644
--- a/specs/libX11/AppD.xml
+++ b/specs/libX11/AppD.xml
@@ -47,7 +47,7 @@ Setting Standard Properties
<!-- .LP -->
To specify a minimum set of properties describing the simplest application,
use
-<function>XSetStandardProperties .</function>
+<function>XSetStandardProperties</function>.
This function has been superseded by
<function>XSetWMProperties</function>
and sets all or portions of the
@@ -119,7 +119,7 @@ which should be a null-terminated string.
<listitem>
<para>
Specifies the bitmap that is to be used for the icon or
-<function>None .</function>
+<function>None</function>.
</para>
</listitem>
</varlistentry>
@@ -167,7 +167,7 @@ should be used to give a window manager some information about
your program's preferences.
It should not be used by applications that need
to communicate more information than is possible with
-<function>XSetStandardProperties .</function>
+<function>XSetStandardProperties</function>.
(Typically, argv is the argv array of your main program.)
If the strings are not in the Host Portable Character Encoding,
the result is implementation-dependent.
@@ -198,9 +198,9 @@ header file and use the WM_NORMAL_HINTS property.
<!-- .LP -->
<!-- .sp -->
To set the size hints for a given window in its normal state, use
-<function>XSetNormalHints .</function>
+<function>XSetNormalHints</function>.
This function has been superseded by
-<function>XSetWMNormalHints .</function>
+<function>XSetWMNormalHints</function>.
<indexterm significance="preferred"><primary>XSetNormalHints</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -287,9 +287,9 @@ errors.
<!-- .LP -->
<!-- .sp -->
To return the size hints for a window in its normal state, use
-<function>XGetNormalHints .</function>
+<function>XGetNormalHints</function>.
This function has been superseded by
-<function>XGetWMNormalHints .</function>
+<function>XGetWMNormalHints</function>.
<indexterm significance="preferred"><primary>XGetNormalHints</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -358,7 +358,7 @@ The next two functions set and read the WM_ZOOM_HINTS property.
<para>
<!-- .LP -->
To set the zoom hints for a window, use
-<function>XSetZoomHints .</function>
+<function>XSetZoomHints</function>.
This function is no longer supported by the
<emphasis remap='I'>Inter-Client Communication Conventions Manual</emphasis>.
<indexterm significance="preferred"><primary>XSetZoomHints</primary></indexterm>
@@ -428,7 +428,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To read the zoom hints for a window, use
-<function>XGetZoomHints .</function>
+<function>XGetZoomHints</function>.
This function is no longer supported by the
<emphasis remap='I'>Inter-Client Communication Conventions Manual</emphasis>.
<indexterm significance="preferred"><primary>XGetZoomHints</primary></indexterm>
@@ -495,9 +495,9 @@ error.
<!-- .LP -->
<!-- .sp -->
To set the value of any property of type WM_SIZE_HINTS, use
-<function>XSetSizeHints .</function>
+<function>XSetSizeHints</function>.
This function has been superseded by
-<function>XSetWMSizeHints .</function>
+<function>XSetWMSizeHints</function>.
<indexterm significance="preferred"><primary>XSetSizeHints</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -572,8 +572,8 @@ Thus, it may be useful if other properties of that type get defined.
<!-- .LP -->
<function>XSetSizeHints</function>
can generate
-<function>BadAlloc ,</function>
-<function>BadAtom ,</function>
+<function>BadAlloc</function>,
+<function>BadAtom</function>,
and
<function>BadWindow </function>
errors.
@@ -582,9 +582,9 @@ errors.
<!-- .LP -->
<!-- .sp -->
To read the value of any property of type WM_SIZE_HINTS, use
-<function>XGetSizeHints .</function>
+<function>XGetSizeHints</function>.
This function has been superseded by
-<function>XGetWMSizeHints .</function>
+<function>XGetWMSizeHints</function>.
<indexterm significance="preferred"><primary>XGetSizeHints</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -651,7 +651,7 @@ structure for the named property and the specified window.
This is used by
<function>XGetNormalHints</function>
and
-<function>XGetZoomHints .</function>
+<function>XGetZoomHints</function>.
It also can be used to retrieve the value of any property of type
WM_SIZE_HINTS.
Thus, it may be useful if other properties of that type get defined.
@@ -675,9 +675,9 @@ Getting and Setting an XStandardColormap Structure
To get the
<function>XStandardColormap </function>
structure associated with one of the described atoms, use
-<function>XGetStandardColormap .</function>
+<function>XGetStandardColormap</function>.
This function has been superseded by
-<function>XGetRGBColormap .</function>
+<function>XGetRGBColormap</function>.
<indexterm significance="preferred"><primary>XGetStandardColormap</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -777,9 +777,9 @@ errors.
<!-- .LP -->
<!-- .sp -->
To set a standard colormap, use
-<function>XSetStandardColormap .</function>
+<function>XSetStandardColormap</function>.
This function has been superseded by
-<function>XSetRGBColormap .</function>
+<function>XSetRGBColormap</function>.
<indexterm significance="preferred"><primary>XSetStandardColormap</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -846,9 +846,9 @@ function usually is only used by window or session managers.
<!-- .LP -->
<function>XSetStandardColormap</function>
can generate
-<function>BadAlloc ,</function>
-<function>BadAtom ,</function>
-<function>BadDrawable ,</function>
+<function>BadAlloc</function>,
+<function>BadAtom</function>,
+<function>BadDrawable</function>,
and
<function>BadWindow </function>
errors.
@@ -859,9 +859,9 @@ Parsing Window Geometry
<!-- .LP -->
To parse window geometry given a user-specified position
and a default position, use
-<function>XGeometry .</function>
+<function>XGeometry</function>.
This function has been superseded by
-<function>XWMGeometry .</function>
+<function>XWMGeometry</function>.
<indexterm><primary>Window</primary><secondary>determining location</secondary></indexterm>
<indexterm significance="preferred"><primary>XGeometry</primary></indexterm>
<!-- .sM -->
@@ -1121,7 +1121,7 @@ function returns the value of the resource <emphasis remap='I'>prog</emphasis>.<
where <emphasis remap='I'>prog</emphasis> is the program argument with the directory prefix removed
and <emphasis remap='I'>option</emphasis> must be a single component.
Note that multilevel resources cannot be used with
-<function>XGetDefault .</function>
+<function>XGetDefault</function>.
The class "Program.Name" is always used for the resource lookup.
If the specified option name does not exist for this program,
<function>XGetDefault</function>
@@ -1133,11 +1133,11 @@ are owned by Xlib and should not be modified or freed by the client.
<para>
<!-- .LP -->
If a database has been set with
-<function>XrmSetDatabase , </function>
+<function>XrmSetDatabase</function>,
that database is used for the lookup.
Otherwise, a database is created
and is set in the display (as if by calling
-<function>XrmSetDatabase ).</function>
+<function>XrmSetDatabase</function>).
The database is created in the current locale.
To create a database,
<function>XGetDefault</function>
@@ -1147,7 +1147,7 @@ If no such property exists,
a resource file in the user's home directory is used.
On a <acronym>POSIX</acronym>-conformant system,
this file is
-<function>"$HOME/.Xdefaults" .</function>
+<function>"$HOME/.Xdefaults"</function>.
<indexterm><primary>Files</primary><secondary>$HOME/.Xdefaults</secondary></indexterm>
After loading these defaults,
<function>XGetDefault</function>
@@ -1201,16 +1201,16 @@ is much faster.
<!-- .LP -->
The functions discussed here provide all the functionality of the
X Version 10 functions
-<function>XDraw , </function>
+<function>XDraw</function>,
<indexterm ><primary>X10 compatibility</primary><secondary>XDraw</secondary></indexterm>
-<function>XDrawFilled , </function>
+<function>XDrawFilled</function>,
<indexterm><primary>X10 compatibility</primary><secondary>XDrawFilled</secondary></indexterm>
-<function>XDrawPatterned , </function>
+<function>XDrawPatterned</function>,
<indexterm ><primary>X10 compatibility</primary><secondary>XDrawPatterned</secondary></indexterm>
-<function>XDrawDashed , </function>
+<function>XDrawDashed</function>,
<indexterm><primary>X10 compatibility</primary><secondary>XDrawDashed</secondary></indexterm>
and
-<function>XDrawTiled . </function>
+<function>XDrawTiled</function>.
<indexterm><primary>X10 compatibility</primary><secondary>XDrawTiled</secondary></indexterm>
They are as compatible as possible given X Version 11's new line-drawing
functions.
@@ -1230,7 +1230,7 @@ Just how the graphics context you use is set up actually
determines whether you get dashes or not, and so on.
Lines are properly joined if they connect and include
the closing of a closed figure (see
-<function>XDrawLines ).</function>
+<function>XDrawLines</function>).
The functions discussed here fail (return zero) only if they run out of memory
or are passed a
<function>Vertex </function>
@@ -1248,15 +1248,15 @@ set.
<!-- .LP -->
<!-- .sp -->
To achieve the effects of the X Version 10
-<function>XDraw , </function>
+<function>XDraw</function>,
<indexterm ><primary>X10 compatibility</primary><secondary>XDraw</secondary></indexterm>
-<function>XDrawDashed , </function>
+<function>XDrawDashed</function>,
<indexterm><primary>X10 compatibility</primary><secondary>XDrawDashed</secondary></indexterm>
and
-<function>XDrawPatterned , </function>
+<function>XDrawPatterned</function>,
<indexterm ><primary>X10 compatibility</primary><secondary>XDrawPatterned</secondary></indexterm>
use
-<function>XDraw . </function>
+<function>XDraw</function>.
</para>
<para>
@@ -1466,10 +1466,10 @@ To achieve the effects of the X Version 10
<function>XDrawTiled </function>
<indexterm><primary>X10 compatibility</primary><secondary>XDrawTiled</secondary></indexterm>
and
-<function>XDrawFilled , </function>
+<function>XDrawFilled</function>,
<indexterm><primary>X10 compatibility</primary><secondary>XDrawFilled</secondary></indexterm>
use
-<function>XDrawFilled .</function>
+<function>XDrawFilled</function>.
</para>
<para>#include &lt;X11/X10.h&gt;</para>
@@ -1575,9 +1575,9 @@ The
<function>XAssocTable</function>
system provides users of the X library with a method
for associating their own data structures with X resources
-<function>( Pixmaps , </function>
-<function>Fonts , </function>
-<function>Windows , </function>
+(<function>Pixmaps</function>,
+<function>Fonts</function>,
+<function>Windows</function>,
and so on).
</para>
<para>
@@ -1623,9 +1623,9 @@ bucket.
<!-- .LP -->
<!-- .sp -->
To return a pointer to a new
-<function>XAssocTable , </function>
+<function>XAssocTable</function>,
use
-<function>XCreateAssocTable .</function>
+<function>XCreateAssocTable</function>.
<indexterm significance="preferred"><primary>XCreateAssocTable</primary></indexterm>
<!-- .sM -->
</para>
@@ -1644,7 +1644,7 @@ use
<listitem>
<para>
Specifies the number of buckets in the hash system of
-<function>XAssocTable .</function>
+<function>XAssocTable</function>.
</para>
</listitem>
</varlistentry>
@@ -1655,7 +1655,7 @@ Specifies the number of buckets in the hash system of
<!-- .eM -->
The size argument specifies the number of buckets in the
hash system of
-<function>XAssocTable .</function>
+<function>XAssocTable</function>.
For reasons of efficiency the number of buckets
should be a power of two.
Some size suggestions might be: use 32 buckets per 100 objects,
@@ -1669,9 +1669,9 @@ a NULL pointer is returned.
<!-- .LP -->
<!-- .sp -->
To create an entry in a given
-<function>XAssocTable ,</function>
+<function>XAssocTable</function>,
use
-<function>XMakeAssoc .</function>
+<function>XMakeAssoc</function>.
<indexterm significance="preferred"><primary>XMakeAssoc</primary></indexterm>
<!-- .sM -->
</para>
@@ -1744,9 +1744,9 @@ the highest XID.
<!-- .LP -->
<!-- .sp -->
To obtain data from a given
-<function>XAssocTable ,</function>
+<function>XAssocTable</function>,
use
-<function>XLookUpAssoc .</function>
+<function>XLookUpAssoc</function>.
<indexterm significance="preferred"><primary>XLookUpAssoc</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1809,9 +1809,9 @@ it returns NULL.
<!-- .LP -->
<!-- .sp -->
To delete an entry from a given
-<function>XAssocTable ,</function>
+<function>XAssocTable</function>,
use
-<function>XDeleteAssoc .</function>
+<function>XDeleteAssoc</function>.
<indexterm significance="preferred"><primary>XDeleteAssoc</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1866,15 +1866,15 @@ function deletes an association in an
keyed on its XID.
Redundant deletes (and deletes of nonexistent XIDs) are ignored.
Deleting associations in no way impairs the performance of an
-<function>XAssocTable .</function>
+<function>XAssocTable</function>.
</para>
<para>
<!-- .LP -->
<!-- .sp -->
To free the memory associated with a given
-<function>XAssocTable ,</function>
+<function>XAssocTable</function>,
use
-<function>XDestroyAssocTable .</function>
+<function>XDestroyAssocTable</function>.
</para>
<indexterm significance="preferred"><primary>XDestroyAssocTable</primary></indexterm>
<!-- .sM -->
diff --git a/specs/libX11/CH01.xml b/specs/libX11/CH01.xml
index ed69c79..37dee91 100644
--- a/specs/libX11/CH01.xml
+++ b/specs/libX11/CH01.xml
@@ -153,7 +153,7 @@ which will be called when the error is reported.
<indexterm><primary>XSync</primary></indexterm>
If a client does not want a request to execute asynchronously,
it can follow the request with a call to
-<function>XSync , </function>
+<function>XSync</function>,
which blocks until all previously buffered
asynchronous events have been sent and acted on.
As an important side effect,
@@ -171,13 +171,13 @@ that returns a value from the server or waits for input.
Many Xlib functions will return an integer resource ID,
which allows you to refer to objects stored on the X server.
These can be of type
-<function>Window , </function>
-<function>Font , </function>
-<function>Pixmap , </function>
-<function>Colormap ,</function>
-<function>Cursor , </function>
+<function>Window</function>,
+<function>Font</function>,
+<function>Pixmap</function>,
+<function>Colormap</function>,
+<function>Cursor</function>,
and
-<function>GContext ,</function>
+<function>GContext</function>,
as defined in the file
<!-- .hN X11/X.h . -->
These resources are created by requests and are destroyed
@@ -209,10 +209,10 @@ arrive asynchronously from the server and are queued until they are
requested by an explicit call (for example,
<function>XNextEvent</function>
or
-<function>XWindowEvent ).</function>
+<function>XWindowEvent</function>).
In addition, some library
functions (for example,
-<function>XRaiseWindow )</function>
+<function>XRaiseWindow</function>)
generate
<function>Expose</function>
and
@@ -233,7 +233,7 @@ after calling a function that can cause the server to generate events.
<para>
<!-- .LP -->
Some functions return
-<function>Status , </function>
+<function>Status</function>,
an integer error indication.
If the function fails, it returns a zero.
If the function returns a status of zero,
@@ -294,7 +294,7 @@ The following include files are part of the Xlib standard:
This is the main header file for Xlib.
The majority of all Xlib symbols are declared by including this file.
This file also contains the preprocessor symbol
-<function>XlibSpecificationRelease .</function>
+<function>XlibSpecificationRelease</function>.
<indexterm significance="preferred"><primary>XlibSpecificationRelease</primary></indexterm>
This symbol is defined to have the 6 in this release of the standard.
(Release 5 of Xlib was the first release to have this symbol.)
@@ -377,7 +377,7 @@ prior to inclusion of the file to obtain the associated values.
The preprocessor symbols are <function>XK_MISCELLANY, XK_XKB_KEYS, XK_3270,
XK_LATIN1, XK_LATIN2, XK_LATIN3, XK_LATIN4, XK_KATAKANA, XK_ARABIC,
XK_CYRILLIC, XK_GREEK, XK_TECHNICAL, XK_SPECIAL, XK_PUBLISHING, XK_APL,
-XK_HEBREW, XK_THAI, and XK_KOREAN.</function>
+XK_HEBREW, XK_THAI, and XK_KOREAN</function>.
</para>
</listitem>
</varlistentry>
@@ -463,7 +463,7 @@ Xlib defines the type
and the Boolean values
<function>True</function>
and
-<function>False .</function>
+<function>False</function>.
<indexterm significance="preferred"><primary>None</primary></indexterm>
</para>
</listitem>
@@ -770,7 +770,7 @@ a..z A..Z 0..9 ._-
Global symbols are printed in
<function>this </function>
<function>special </function>
-<function>font .</function>
+<function>font</function>.
These can be either function names,
symbols defined in include files, or structure names.
When declared and defined,
diff --git a/specs/libX11/CH02.xml b/specs/libX11/CH02.xml
index 6c0321f..0391ac2 100644
--- a/specs/libX11/CH02.xml
+++ b/specs/libX11/CH02.xml
@@ -60,7 +60,7 @@ Use internal connections
<para>
<!-- .LP -->
To open a connection to the X server that controls a display, use
-<function>XOpenDisplay .</function>
+<function>XOpenDisplay</function>.
<indexterm significance="preferred"><primary>XOpenDisplay</primary></indexterm>
</para>
<para>
@@ -224,7 +224,7 @@ If
<function>XOpenDisplay </function>
does not succeed, it returns NULL.
After a successful call to
-<function>XOpenDisplay ,</function>
+<function>XOpenDisplay</function>,
all of the screens in the display can be used by the client.
The screen number specified in the display_name argument is returned
by the
@@ -293,11 +293,11 @@ Applications must never directly modify or inspect these private members of the
structure.
<!-- .NT Note -->
The
-<function>XDisplayWidth ,</function>
-<function>XDisplayHeight ,</function>
-<function>XDisplayCells ,</function>
-<function>XDisplayPlanes ,</function>
-<function>XDisplayWidthMM ,</function>
+<function>XDisplayWidth</function>,
+<function>XDisplayHeight</function>,
+<function>XDisplayCells</function>,
+<function>XDisplayPlanes</function>,
+<function>XDisplayWidthMM</function>,
and
<function>XDisplayHeightMM</function>
functions in the next sections are misnamed.
@@ -566,14 +566,14 @@ Specifies the appropriate screen number on the host server.
Both return the depth (number of planes) of the default root window for the
specified screen.
Other depths may also be supported on this screen (see
-<function>XMatchVisualInfo ).</function>
+<function>XMatchVisualInfo</function>).
</para>
<para>
<!-- .LP -->
<!-- .sp -->
<indexterm significance="preferred"><primary>XListDepths</primary></indexterm>
To determine the number of depths that are available on a given screen, use
-<function>XListDepths .</function>
+<function>XListDepths</function>.
<!-- .sM -->
</para>
<para>
@@ -634,7 +634,7 @@ can be allocated,
sets count_return to the number of available depths.
Otherwise, it does not set count_return and returns NULL.
To release the memory allocated for the array of depths, use
-<function>XFree .</function>
+<function>XFree</function>.
</para>
<para>
<!-- .LP -->
@@ -1061,22 +1061,22 @@ extended-length protocol encoding; otherwise,
it returns the maximum request size (in 4-byte units) supported
by the server using the extended-length encoding.
The Xlib functions
-<function>XDrawLines ,</function>
-<function>XDrawArcs ,</function>
-<function>XFillPolygon ,</function>
-<function>XChangeProperty ,</function>
-<function>XSetClipRectangles ,</function>
+<function>XDrawLines</function>,
+<function>XDrawArcs</function>,
+<function>XFillPolygon</function>,
+<function>XChangeProperty</function>,
+<function>XSetClipRectangles</function>,
and
<function>XSetRegion</function>
will use the extended-length encoding as necessary, if supported
by the server. Use of the extended-length encoding in other Xlib
functions (for example,
-<function>XDrawPoints ,</function>
-<function>XDrawRectangles ,</function>
-<function>XDrawSegments ,</function>
-<function>XFillArcs ,</function>
-<function>XFillRectangles ,</function>
-<function>XPutImage )</function>
+<function>XDrawPoints</function>,
+<function>XDrawRectangles</function>,
+<function>XDrawSegments</function>,
+<function>XFillArcs</function>,
+<function>XFillRectangles</function>,
+<function>XPutImage</function>)
is permitted but not required; an Xlib implementation may choose to
split the data across multiple smaller requests instead.
</para>
@@ -1121,13 +1121,13 @@ The protocol guarantees the size to be no smaller than 4096 units
(16384 bytes).
Xlib automatically breaks data up into multiple protocol requests
as necessary for the following functions:
-<function>XDrawPoints ,</function>
-<function>XDrawRectangles ,</function>
-<function>XDrawSegments ,</function>
-<function>XFillArcs ,</function>
-<function>XFillRectangles ,</function>
+<function>XDrawPoints</function>,
+<function>XDrawRectangles</function>,
+<function>XDrawSegments</function>,
+<function>XFillArcs</function>,
+<function>XFillRectangles</function>,
and
-<function>XPutImage .</function>
+<function>XPutImage</function>.
</para>
<para>
<!-- .LP -->
@@ -1306,7 +1306,7 @@ Specifies the connection to the X server.
Both return the length of the event queue for the connected display.
Note that there may be more events that have not been read into
the queue yet (see
-<function>XEventsQueued ).</function>
+<function>XEventsQueued</function>).
</para>
<para>
<!-- .LP -->
@@ -1503,7 +1503,7 @@ typedef struct {
<!-- .eM -->
<!-- .sp -->
To obtain the pixmap format information for a given display, use
-<function>XListPixmapFormats .</function>
+<function>XListPixmapFormats</function>.
<indexterm significance="preferred"><primary>XListPixmapFormats</primary></indexterm>
<!-- .sM -->
</para>
@@ -1556,7 +1556,7 @@ returns NULL.
To free the allocated storage for the
<function>XPixmapFormatValues</function>
structures, use
-<function>XFree .</function>
+<function>XFree</function>.
</para>
<para>
<!-- .LP -->
@@ -1603,7 +1603,7 @@ Z format.
The macro or function can return either
<function>LSBFirst </function>
or
-<function>MSBFirst .</function>
+<function>MSBFirst</function>.
</para>
<para>
<!-- .LP -->
@@ -1678,7 +1678,7 @@ unit.
This macro or function can return
<function>LSBFirst</function>
or
-<function>MSBFirst .</function>
+<function>MSBFirst</function>.
</para>
<para>
<!-- .LP -->
@@ -2204,8 +2204,8 @@ structure.
Both return a value indicating whether the screen supports backing
stores.
The value returned can be one of
-<function>WhenMapped ,</function>
-<function>NotUseful ,</function>
+<function>WhenMapped</function>,
+<function>NotUseful</function>,
or
<function>Always </function>
(see section 3.2.4).
@@ -2247,10 +2247,10 @@ structure.
Both return a Boolean value indicating whether the
screen supports save unders.
If
-<function>True ,</function>
+<function>True</function>,
the screen supports save unders.
If
-<function>False ,</function>
+<function>False</function>,
the screen does not support save unders (see section 3.2.5).
</para>
<para>
@@ -2665,7 +2665,7 @@ Both return the root window of the specified screen.
To execute a
<function>NoOperation </function>
protocol request, use
-<function>XNoOp .</function>
+<function>XNoOp</function>.
<indexterm significance="preferred"><primary>XNoOp</primary></indexterm>
<!-- .sM -->
</para>
@@ -2703,7 +2703,7 @@ thereby exercising the connection.
<para>
<!-- .LP -->
To free in-memory data that was created by an Xlib function, use
-<function>XFree .</function>
+<function>XFree</function>.
<indexterm significance="preferred"><primary>XFree</primary></indexterm>
<!-- .sM -->
</para>
@@ -2746,7 +2746,7 @@ A NULL pointer cannot be passed to this function.
<para>
<!-- .LP -->
To close a display or disconnect from the X server, use
-<function>XCloseDisplay .</function>
+<function>XCloseDisplay</function>.
<indexterm significance="preferred"><primary>XCloseDisplay</primary></indexterm>
</para>
<para>
@@ -2781,17 +2781,17 @@ The
function closes the connection to the X server for the display specified in the
<function>Display</function>
structure and destroys all windows, resource IDs
-<function>( Window ,</function>
-<function>Font ,</function>
-<function>Pixmap ,</function>
-<function>Colormap ,</function>
-<function>Cursor ,</function>
+(<function>Window</function>,
+<function>Font</function>,
+<function>Pixmap</function>,
+<function>Colormap</function>,
+<function>Cursor</function>,
and
-<function>GContext ),</function>
+<function>GContext</function>),
or other resources that the client has created
on this display, unless the close-down mode of the resource has been changed
(see
-<function>XSetCloseDownMode ).</function>
+<function>XSetCloseDownMode</function>).
Therefore, these windows, resource IDs, and other resources should never be
referenced again or an error will be generated.
Before exiting, you should call
@@ -2817,7 +2817,7 @@ error.
Xlib provides a function to permit the resources owned by a client
to survive after the client's connection is closed.
To change a client's close-down mode, use
-<function>XSetCloseDownMode .</function>
+<function>XSetCloseDownMode</function>.
<indexterm significance="preferred"><primary>XSetCloseDownMode</primary></indexterm>
<!-- .sM -->
</para>
@@ -2848,10 +2848,10 @@ Specifies the connection to the X server.
<para>
Specifies the client close-down mode.
You can pass
-<function>DestroyAll , </function>
-<function>RetainPermanent , </function>
+<function>DestroyAll</function>,
+<function>RetainPermanent</function>,
or
-<function>RetainTemporary . </function>
+<function>RetainTemporary</function>.
</para>
</listitem>
</varlistentry>
@@ -2869,7 +2869,7 @@ For information on what happens to the client's resources when the
close_mode argument is
<function>RetainPermanent</function>
or
-<function>RetainTemporary ,</function>
+<function>RetainTemporary</function>,
see section 2.6.
</para>
<para>
@@ -2898,7 +2898,7 @@ automatic operations:
<para>
It disowns all selections owned by the client
(see
-<function>XSetSelectionOwner ).</function>
+<function>XSetSelectionOwner</function>).
</para>
</listitem>
<listitem>
@@ -2930,17 +2930,17 @@ by the client either as permanent or temporary,
depending on whether the close-down mode is
<function>RetainPermanent</function>
or
-<function>RetainTemporary .</function>
+<function>RetainTemporary</function>.
However, this does not prevent other client applications from explicitly
destroying the resources (see
-<function>XSetCloseDownMode ).</function>
+<function>XSetCloseDownMode</function>).
</para>
</listitem>
</itemizedlist>
<para>
<!-- .LP -->
When the close-down mode is
-<function>DestroyAll ,</function>
+<function>DestroyAll</function>,
the X server destroys all of a client's resources as follows:
</para>
<itemizedlist>
@@ -2975,12 +2975,12 @@ It destroys all windows created by the client.
<para>
It performs the appropriate free request on each nonwindow resource created by
the client in the server (for example,
-<function>Font , </function>
-<function>Pixmap , </function>
-<function>Cursor , </function>
-<function>Colormap , </function>
+<function>Font</function>,
+<function>Pixmap</function>,
+<function>Cursor</function>,
+<function>Colormap</function>,
and
-<function>GContext ).</function>
+<function>GContext</function>).
</para>
</listitem>
<listitem>
@@ -2996,7 +2996,7 @@ An X server goes through a cycle of having no connections and having some
connections.
When the last connection to the X server closes as a result of a connection
closing with the close_mode of
-<function>DestroyAll ,</function>
+<function>DestroyAll</function>,
the X server does the following:
</para>
<itemizedlist>
@@ -3042,7 +3042,7 @@ It restores the default font path.
<listitem>
<para>
It restores the input focus to state
-<function>PointerRoot .</function>
+<function>PointerRoot</function>.
</para>
</listitem>
</itemizedlist>
@@ -3052,7 +3052,7 @@ However, the X server does not reset if you close a connection with a close-down
mode set to
<function>RetainPermanent</function>
or
-<function>RetainTemporary .</function>
+<function>RetainTemporary</function>.
</para>
</sect1>
<sect1 id="Using_Xlib_with_Threads">
@@ -3069,7 +3069,7 @@ multiple threads to use Xlib concurrently.
<!-- .LP -->
<!-- .sp -->
To initialize support for concurrent threads, use
-<function>XInitThreads .</function>
+<function>XInitThreads</function>.
<indexterm significance="preferred"><primary>XInitThreads</primary></indexterm>
<!-- .sM -->
</para>
@@ -3102,7 +3102,7 @@ It is recommended that single-threaded programs not call this function.
<!-- .LP -->
<!-- .sp -->
To lock a display across several Xlib calls, use
-<function>XLockDisplay .</function>
+<function>XLockDisplay</function>.
<indexterm significance="preferred"><primary>XLockDisplay</primary></indexterm>
<!-- .sM -->
</para>
@@ -3138,16 +3138,16 @@ Nested calls to
work correctly; the display will not actually be unlocked until
<function>XUnlockDisplay</function>
has been called the same number of times as
-<function>XLockDisplay .</function>
+<function>XLockDisplay</function>.
This function has no effect unless Xlib was successfully initialized
for threads using
-<function>XInitThreads .</function>
+<function>XInitThreads</function>.
</para>
<para>
<!-- .LP -->
<!-- .sp -->
To unlock a display, use
-<function>XUnlockDisplay .</function>
+<function>XUnlockDisplay</function>.
<indexterm significance="preferred"><primary>XUnlockDisplay</primary></indexterm>
<!-- .sM -->
</para>
@@ -3185,7 +3185,7 @@ must be called an equal number of times before the display is
actually unlocked.
This function has no effect unless Xlib was successfully initialized
for threads using
-<function>XInitThreads .</function>
+<function>XInitThreads</function>.
</para>
</sect1>
<sect1 id="Using_Internal_Connections">
@@ -3208,7 +3208,7 @@ facilities.
<para>
<!-- .LP -->
To track internal connections for a display, use
-<function>XAddConnectionWatch .</function>
+<function>XAddConnectionWatch</function>.
</para>
<funcsynopsis>
<funcprototype>
@@ -3272,11 +3272,11 @@ internal connection for the specified display. The procedure is passed the
display, the specified client_data, the file descriptor for the connection,
a Boolean indicating whether the connection is being opened or closed, and a
pointer to a location for private watch data. If opening is
-<function>True ,</function>
+<function>True</function>,
the procedure can store a pointer to private data in the location pointed
to by watch_data;
when the procedure is later called for this same connection and opening is
-<function>False ,</function>
+<function>False</function>,
the location pointed to by watch_data will hold this same private data pointer.
</para>
<para>
@@ -3299,13 +3299,13 @@ If Xlib has been initialized for threads, the procedure is called with
the display locked and the result of a call by the procedure to any
Xlib function that locks the display is not defined unless the executing
thread has externally locked the display using
-<function>XLockDisplay .</function>
+<function>XLockDisplay</function>.
</para>
<para>
<!-- .LP -->
<!-- .sp -->
To stop tracking internal connections for a display, use
-<function>XRemoveConnectionWatch .</function>
+<function>XRemoveConnectionWatch</function>.
<indexterm significance="preferred"><primary>XRemoveConnectionWatch</primary></indexterm>
<!-- .sM -->
</para>
@@ -3367,7 +3367,7 @@ was initially registered.
<!-- .LP -->
<!-- .sp -->
To process input on an internal connection, use
-<function>XProcessInternalConnection .</function>
+<function>XProcessInternalConnection</function>.
<indexterm significance="preferred"><primary>XProcessInternalConnection</primary></indexterm>
<!-- .sM -->
</para>
@@ -3414,7 +3414,7 @@ This function should be called for an internal connection only
after an operating system facility (for example,
<function>select</function>
or
-<function>poll )</function>
+<function>poll</function>)
has indicated that input is available; otherwise,
the effect is not defined.
</para>
@@ -3422,7 +3422,7 @@ the effect is not defined.
<!-- .LP -->
<!-- .sp -->
To obtain all of the current internal connections for a display, use
-<function>XInternalConnectionNumbers .</function>
+<function>XInternalConnectionNumbers</function>.
<indexterm significance="preferred"><primary>XInternalConnectionNumbers</primary></indexterm>
<!-- .sM -->
</para>
@@ -3480,7 +3480,7 @@ function returns a list of the file descriptors for all internal
connections currently open for the specified display.
When the allocated list is no longer needed,
free it by using
-<function>XFree .</function>
+<function>XFree</function>.
This functions returns a nonzero status if the list is successfully allocated;
otherwise, it returns zero.
</para>
diff --git a/specs/libX11/CH03.xml b/specs/libX11/CH03.xml
index 83cbc35..e976099 100644
--- a/specs/libX11/CH03.xml
+++ b/specs/libX11/CH03.xml
@@ -41,13 +41,13 @@ and can be
<indexterm><primary>Visual Classes</primary><secondary>StaticColor</secondary></indexterm>
<indexterm><primary>Visual Classes</primary><secondary>GrayScale</secondary></indexterm>
<indexterm><primary>Visual Classes</primary><secondary>PseudoColor</secondary></indexterm>
-<function>StaticGray ,</function>
-<function>StaticColor ,</function>
-<function>TrueColor ,</function>
-<function>GrayScale ,</function>
-<function>PseudoColor ,</function>
+<function>StaticGray</function>,
+<function>StaticColor</function>,
+<function>TrueColor</function>,
+<function>GrayScale</function>,
+<function>PseudoColor</function>,
or
-<function>DirectColor .</function>
+<function>DirectColor</function>.
</para>
<para>
<!-- .LP -->
@@ -89,7 +89,7 @@ the <acronym>RGB</acronym> values in the following ways:
<listitem>
<para>
For
-<function>PseudoColor , </function>
+<function>PseudoColor</function>,
a pixel value indexes a colormap to produce
independent <acronym>RGB</acronym> values, and the <acronym>RGB</acronym> values can be changed dynamically.
</para>
@@ -107,7 +107,7 @@ same value for red, green, and blue in the colormaps.
<listitem>
<para>
For
-<function>DirectColor ,</function>
+<function>DirectColor</function>,
a pixel value is decomposed into separate <acronym>RGB</acronym> subfields, and each
subfield separately indexes the colormap for the corresponding value.
The <acronym>RGB</acronym> values can be changed dynamically.
@@ -150,7 +150,7 @@ colormap can be thought of as monochrome.
The red_mask, green_mask, and blue_mask members are only defined for
<function>DirectColor</function>
and
-<function>TrueColor . </function>
+<function>TrueColor</function>.
Each has one contiguous set of bits with no
intersections.
The bits_per_rgb member specifies the log base 2 of the
@@ -161,16 +161,16 @@ in a newly created colormap.
For
<function>DirectColor </function>
and
-<function>TrueColor , </function>
+<function>TrueColor</function>,
this is the size of an individual pixel subfield.
<!-- .sp -->
</para>
<para>
<!-- .LP -->
To obtain the visual ID from a
-<function>Visual ,</function>
+<function>Visual</function>,
use
-<function>XVisualIDFromVisual .</function>
+<function>XVisualIDFromVisual</function>.
<indexterm significance="preferred"><primary>XVisualIDFromVisual</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -308,7 +308,7 @@ are to be made.
The pattern can either be relative to the parent
or absolute.
If
-<function>ParentRelative ,</function>
+<function>ParentRelative</function>,
the parent's background is used.
</para>
<para>
@@ -322,7 +322,7 @@ An application may wish to create a window long before it is
mapped to the screen.
When a window is eventually mapped to the screen
(using
-<function>XMapWindow ),</function>
+<function>XMapWindow</function>),
<indexterm><primary>XMapWindow</primary></indexterm>
the X server generates an
<function>Expose </function>
@@ -350,7 +350,7 @@ set the appropriate member of the
structure and OR in the corresponding value bitmask in your subsequent calls to
<function>XCreateWindow</function>
and
-<function>XChangeWindowAttributes ,</function>
+<function>XChangeWindowAttributes</function>,
or use one of the other convenience functions that set the appropriate
attribute.
The symbols for the value mask bits and the
@@ -553,7 +553,7 @@ a window's background in a single color.
You can set the background-pixmap to a pixmap,
<function>None </function>
(default), or
-<function>ParentRelative .</function>
+<function>ParentRelative</function>.
You can set the background-pixel of a window to any pixel value (no default).
If you specify a background-pixel,
it overrides either the default background-pixmap
@@ -572,7 +572,7 @@ or a
<function>BadMatch</function>
error results.
If you set background-pixmap to
-<function>None ,</function>
+<function>None</function>,
the window has no defined background.
If you set the background-pixmap to
<function>ParentRelative :</function>
@@ -591,9 +591,9 @@ error results.
<listitem>
<para>
If the parent window has a background-pixmap of
-<function>None ,</function>
+<function>None</function>,
the window also has a background-pixmap of
-<function>None . </function>
+<function>None</function>.
</para>
</listitem>
<listitem>
@@ -608,7 +608,7 @@ background-pixmap is required.
The background tile origin always aligns with the parent window's
background tile origin.
If the background-pixmap is not
-<function>ParentRelative ,</function>
+<function>ParentRelative</function>,
the background tile origin is the child window's origin.
</para>
</listitem>
@@ -630,9 +630,9 @@ When no valid contents are available for regions of a window
and either the regions are visible or the server is maintaining backing store,
the server automatically tiles the regions with the window's background
unless the window has a background of
-<function>None .</function>
+<function>None</function>.
If the background is
-<function>None ,</function>
+<function>None</function>,
the previous screen contents from other windows of the same depth as the window
are simply left in place as long as the contents come from the parent of the
window or an inferior of the parent.
@@ -685,7 +685,7 @@ or a
<function>BadMatch</function>
error results.
If you set the border-pixmap to
-<function>CopyFromParent ,</function>
+<function>CopyFromParent</function>,
the parent window's border-pixmap is copied.
Subsequent changes to the parent window's border attribute do not affect
the child window.
@@ -727,14 +727,14 @@ retained when an
<function>InputOutput</function>
window is resized.
The default value for the bit-gravity attribute is
-<function>ForgetGravity .</function>
+<function>ForgetGravity</function>.
The window gravity of a window allows you to define how the
<function>InputOutput</function>
or
<function>InputOnly</function>
window should be repositioned if its parent is resized.
The default value for the win-gravity attribute is
-<function>NorthWestGravity .</function>
+<function>NorthWestGravity</function>.
</para>
<para>
<!-- .LP -->
@@ -885,9 +885,9 @@ with the contents of a window.
The backing-store attribute can be set to
<function>NotUseful </function>
(default),
-<function>WhenMapped ,</function>
+<function>WhenMapped</function>,
or
-<function>Always .</function>
+<function>Always</function>.
</para>
<para>
<!-- .LP -->
@@ -955,7 +955,7 @@ or
<function>False </function>
(default).
If save-under is
-<function>True , </function>
+<function>True</function>,
the X server is advised that, when this window is mapped,
saving the contents of windows it obscures would be beneficial.
</para>
@@ -1015,18 +1015,18 @@ or
window.
The do-not-propagate-mask is the bitwise inclusive OR of zero or more
of the following masks:
-<function>KeyPress , </function>
-<function>KeyRelease ,</function>
-<function>ButtonPress , </function>
-<function>ButtonRelease ,</function>
-<function>PointerMotion ,</function>
-<function>Button1Motion , </function>
-<function>Button2Motion , </function>
-<function>Button3Motion ,</function>
-<function>Button4Motion , </function>
-<function>Button5Motion , </function>
+<function>KeyPress</function>,
+<function>KeyRelease</function>,
+<function>ButtonPress</function>,
+<function>ButtonRelease</function>,
+<function>PointerMotion</function>,
+<function>Button1Motion</function>,
+<function>Button2Motion</function>,
+<function>Button3Motion</function>,
+<function>Button4Motion</function>,
+<function>Button5Motion</function>,
and
-<function>ButtonMotion .</function>
+<function>ButtonMotion</function>.
You can specify that all events are propagated by setting
<function>NoEventMask </function>
(default).
@@ -1084,7 +1084,7 @@ error results.
X servers capable of supporting multiple
hardware colormaps can use this information,
and window managers can use it for calls to
-<function>XInstallColormap .</function>
+<function>XInstallColormap</function>.
You can set the colormap attribute to a colormap or to
<function>CopyFromParent</function>
(default).
@@ -1092,14 +1092,14 @@ You can set the colormap attribute to a colormap or to
<para>
<!-- .LP -->
If you set the colormap to
-<function>CopyFromParent ,</function>
+<function>CopyFromParent</function>,
the parent window's colormap is copied and used by its child.
However, the child window must have the same visual type as the parent,
or a
<function>BadMatch </function>
error results.
The parent window must not have a colormap of
-<function>None ,</function>
+<function>None</function>,
or a
<function>BadMatch </function>
error results.
@@ -1129,7 +1129,7 @@ You can set the cursor to a cursor or
<para>
<!-- .LP -->
If you set the cursor to
-<function>None ,</function>
+<function>None</function>,
the parent's cursor is used when the
pointer is in the
<function>InputOutput</function>
@@ -1138,7 +1138,7 @@ or
window, and any change in the parent's cursor will cause an
immediate change in the displayed cursor.
By calling
-<function>XFreeCursor ,</function>
+<function>XFreeCursor</function>,
the cursor can be freed immediately as long as no further explicit reference
to it is made.
</para>
@@ -1235,7 +1235,7 @@ Extension packages can define other classes of windows.
<para>
<!-- .LP -->
To create an unmapped window and set its window attributes, use
-<function>XCreateWindow .</function>
+<function>XCreateWindow</function>.
<indexterm significance="preferred"><primary>XCreateWindow</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1356,10 +1356,10 @@ means the depth is taken from the parent.
<para>
Specifies the created window's class.
You can pass
-<function>InputOutput , </function>
-<function>InputOnly , </function>
+<function>InputOutput</function>,
+<function>InputOnly</function>,
or
-<function>CopyFromParent .</function>
+<function>CopyFromParent</function>.
A class of
<function>CopyFromParent</function>
means the class
@@ -1442,14 +1442,14 @@ window must be zero, or a
<function>BadMatch</function>
error results.
For class
-<function>InputOutput ,</function>
+<function>InputOutput</function>,
the visual type and depth must be a combination supported for the screen,
or a
<function>BadMatch</function>
error results.
The depth need not be the same as the parent,
but the parent must not be a window of class
-<function>InputOnly ,</function>
+<function>InputOnly</function>,
or a
<function>BadMatch</function>
error results.
@@ -1470,11 +1470,11 @@ error results.
<!-- .LP -->
The created window is not yet displayed (mapped) on the user's display.
To display the window, call
-<function>XMapWindow .</function>
+<function>XMapWindow</function>.
The new window initially uses the same cursor as
its parent.
A new cursor can be defined for the new window by calling
-<function>XDefineCursor .</function>
+<function>XDefineCursor</function>.
<indexterm><primary>Cursor</primary><secondary>Initial State</secondary></indexterm>
<indexterm><primary>XDefineCursor</primary></indexterm>
The window will not be visible on the screen unless it and all of its
@@ -1484,12 +1484,12 @@ ancestors are mapped and it is not obscured by any of its ancestors.
<!-- .LP -->
<function>XCreateWindow</function>
can generate
-<function>BadAlloc ,</function>
-<function>BadColor ,</function>
-<function>BadCursor ,</function>
-<function>BadMatch ,</function>
-<function>BadPixmap ,</function>
-<function>BadValue ,</function>
+<function>BadAlloc</function>,
+<function>BadColor</function>,
+<function>BadCursor</function>,
+<function>BadMatch</function>,
+<function>BadPixmap</function>,
+<function>BadValue</function>,
and
<function>BadWindow </function>
errors.
@@ -1500,7 +1500,7 @@ errors.
To create an unmapped
<function>InputOutput</function>
subwindow of a given parent window, use
-<function>XCreateSimpleWindow .</function>
+<function>XCreateSimpleWindow</function>.
<indexterm significance="preferred"><primary>XCreateSimpleWindow</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1648,9 +1648,9 @@ have their default values.
<!-- .LP -->
<function>XCreateSimpleWindow</function>
can generate
-<function>BadAlloc ,</function>
-<function>BadMatch ,</function>
-<function>BadValue ,</function>
+<function>BadAlloc</function>,
+<function>BadMatch</function>,
+<function>BadValue</function>,
and
<function>BadWindow </function>
errors.
@@ -1670,7 +1670,7 @@ subwindows of a window.
<!-- .LP -->
<!-- .sp -->
To destroy a window and all of its subwindows, use
-<function>XDestroyWindow .</function>
+<function>XDestroyWindow</function>.
<indexterm significance="preferred"><primary>XDestroyWindow</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1740,7 +1740,7 @@ error.
<!-- .LP -->
<!-- .sp -->
To destroy all subwindows of a specified window, use
-<function>XDestroySubwindows .</function>
+<function>XDestroySubwindows</function>.
<indexterm significance="preferred"><primary>XDestroySubwindows</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1867,7 +1867,7 @@ reparent the child into a frame first.
For further information,
see sections 3.2.8 and 10.10.
Only a single client at a time can select for
-<function>SubstructureRedirectMask .</function>
+<function>SubstructureRedirectMask</function>.
</para>
<para>
<!-- .LP -->
@@ -1883,7 +1883,7 @@ event.
<!-- .LP -->
<!-- .sp -->
To map a given window, use
-<function>XMapWindow .</function>
+<function>XMapWindow</function>.
<indexterm significance="preferred"><primary>XMapWindow</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2009,7 +2009,7 @@ error.
<!-- .LP -->
<!-- .sp -->
To map and raise a window, use
-<function>XMapRaised .</function>
+<function>XMapRaised</function>.
<indexterm significance="preferred"><primary>XMapRaised</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2056,7 +2056,7 @@ subwindows that have had map requests.
However, it also raises the specified window to the top of the stack.
For additional information,
see
-<function>XMapWindow .</function>
+<function>XMapWindow</function>.
</para>
<para>
<!-- .LP -->
@@ -2069,7 +2069,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To map all subwindows for a specified window, use
-<function>XMapSubwindows .</function>
+<function>XMapSubwindows</function>.
<indexterm significance="preferred"><primary>XMapSubwindows</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2139,7 +2139,7 @@ Xlib provides functions that you can use to unmap a window or all subwindows.
<!-- .LP -->
<!-- .sp -->
To unmap a window, use
-<function>XUnmapWindow .</function>
+<function>XUnmapWindow</function>.
<indexterm significance="preferred"><primary>XUnmapWindow</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2206,7 +2206,7 @@ error.
<!-- .LP -->
<!-- .sp -->
To unmap all subwindows for a specified window, use
-<function>XUnmapSubwindows .</function>
+<function>XUnmapSubwindows</function>.
<indexterm significance="preferred"><primary>XUnmapSubwindows</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2282,7 +2282,7 @@ To change one of these parameters,
set the appropriate member of the
<function>XWindowChanges</function>
structure and OR in the corresponding value mask in subsequent calls to
-<function>XConfigureWindow .</function>
+<function>XConfigureWindow</function>.
The symbols for the value mask bits and the
<function>XWindowChanges</function>
structure are:
@@ -2343,12 +2343,12 @@ error results.
The sibling member is used to set the sibling window for stacking operations.
The stack_mode member is used to set how the window is to be restacked
and can be set to
-<function>Above , </function>
-<function>Below , </function>
-<function>TopIf , </function>
-<function>BottomIf ,</function>
+<function>Above</function>,
+<function>Below</function>,
+<function>TopIf</function>,
+<function>BottomIf</function>,
or
-<function>Opposite .</function>
+<function>Opposite</function>.
</para>
<para>
<!-- .LP -->
@@ -2409,10 +2409,10 @@ and any regions where window contents are lost.
<para>
<!-- .LP -->
The restack check (specifically, the computation for
-<function>BottomIf ,</function>
-<function>TopIf ,</function>
+<function>BottomIf</function>,
+<function>TopIf</function>,
and
-<function>Opposite )</function>
+<function>Opposite</function>)
is performed with respect to the window's final size and position (as
controlled by the other arguments of the request), not its initial position.
If a sibling is specified without a stack_mode,
@@ -2511,7 +2511,7 @@ Attempts to configure a root window have no effect.
<!-- .LP -->
<!-- .sp -->
To configure a window's size, location, stacking, or border, use
-<function>XConfigureWindow .</function>
+<function>XConfigureWindow</function>.
<indexterm significance="preferred"><primary>XConfigureWindow</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2590,13 +2590,13 @@ a
<function>BadMatch</function>
error results.
Note that the computations for
-<function>BottomIf ,</function>
-<function>TopIf ,</function>
+<function>BottomIf</function>,
+<function>TopIf</function>,
and
<function>Opposite</function>
are performed with respect to the window's final geometry (as controlled by the
other arguments passed to
-<function>XConfigureWindow ),</function>
+<function>XConfigureWindow</function>),
not its initial geometry.
Any backing store contents of the window, its
inferiors, and other newly visible windows are either discarded or
@@ -2607,8 +2607,8 @@ changed to reflect the current screen contents
<!-- .LP -->
<function>XConfigureWindow</function>
can generate
-<function>BadMatch ,</function>
-<function>BadValue ,</function>
+<function>BadMatch</function>,
+<function>BadValue</function>,
and
<function>BadWindow </function>
errors.
@@ -2617,7 +2617,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To move a window without changing its size, use
-<function>XMoveWindow .</function>
+<function>XMoveWindow</function>.
<indexterm significance="preferred"><primary>XMoveWindow</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2719,7 +2719,7 @@ error.
<!-- .LP -->
<!-- .sp -->
To change a window's size without changing the upper-left coordinate, use
-<function>XResizeWindow .</function>
+<function>XResizeWindow</function>.
<indexterm significance="preferred"><primary>XResizeWindow</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2822,7 +2822,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To change the size and location of a window, use
-<function>XMoveResizeWindow .</function>
+<function>XMoveResizeWindow</function>.
<indexterm significance="preferred"><primary>XMoveResizeWindow</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2943,7 +2943,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To change the border width of a given window, use
-<function>XSetWindowBorderWidth .</function>
+<function>XSetWindowBorderWidth</function>.
<indexterm significance="preferred"><primary>XSetWindowBorderWidth</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3020,7 +3020,7 @@ or restack windows.
<!-- .LP -->
<!-- .sp -->
To raise a window so that no sibling window obscures it, use
-<function>XRaiseWindow .</function>
+<function>XRaiseWindow</function>.
<indexterm significance="preferred"><primary>XRaiseWindow</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3093,7 +3093,7 @@ error.
<!-- .LP -->
<!-- .sp -->
To lower a window so that it does not obscure any sibling windows, use
-<function>XLowerWindow .</function>
+<function>XLowerWindow</function>.
<indexterm significance="preferred"><primary>XLowerWindow</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3167,7 +3167,7 @@ error.
<!-- .LP -->
<!-- .sp -->
To circulate a subwindow up or down, use
-<function>XCirculateSubwindows .</function>
+<function>XCirculateSubwindows</function>.
<indexterm significance="preferred"><primary>XCirculateSubwindows</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3211,7 +3211,7 @@ the window.
You can pass
<function>RaiseLowest</function>
or
-<function>LowerHighest .</function>
+<function>LowerHighest</function>.
</para>
</listitem>
</varlistentry>
@@ -3225,12 +3225,12 @@ The
function circulates children of the specified window in the specified
direction.
If you specify
-<function>RaiseLowest ,</function>
+<function>RaiseLowest</function>,
<function>XCirculateSubwindows</function>
raises the lowest mapped child (if any) that is occluded
by another child to the top of the stack.
If you specify
-<function>LowerHighest ,</function>
+<function>LowerHighest</function>,
<function>XCirculateSubwindows</function>
lowers the highest mapped child (if any) that occludes another child
to the bottom of the stack.
@@ -3259,7 +3259,7 @@ errors.
<!-- .sp -->
To raise the lowest mapped child of a window that is partially or completely
occluded by another child, use
-<function>XCirculateSubwindowsUp .</function>
+<function>XCirculateSubwindowsUp</function>.
<indexterm significance="preferred"><primary>XCirculateSubwindowsUp</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3321,7 +3321,7 @@ error.
<!-- .sp -->
To lower the highest mapped child of a window that partially or
completely occludes another child, use
-<function>XCirculateSubwindowsDown .</function>
+<function>XCirculateSubwindowsDown</function>.
<indexterm significance="preferred"><primary>XCirculateSubwindowsDown</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3380,7 +3380,7 @@ error.
<!-- .LP -->
<!-- .sp -->
To restack a set of windows from top to bottom, use
-<function>XRestackWindows .</function>
+<function>XRestackWindows</function>.
<indexterm significance="preferred"><primary>XRestackWindows</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3486,7 +3486,7 @@ window attribute, such as a window's background.
<!-- .LP -->
<!-- .sp -->
To change one or more attributes for a given window, use
-<function>XChangeWindowAttributes .</function>
+<function>XChangeWindowAttributes</function>.
<indexterm significance="preferred"><primary>XChangeWindowAttributes</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3533,7 +3533,7 @@ If valuemask is zero,
the attributes are ignored and are not referenced.
The values and restrictions are
the same as for
-<function>XCreateWindow .</function>
+<function>XCreateWindow</function>.
</para>
</listitem>
</varlistentry>
@@ -3574,7 +3574,7 @@ structure to change the specified window attributes.
Changing the background does not cause the window contents to be
changed.
To repaint the window and its background, use
-<function>XClearWindow .</function>
+<function>XClearWindow</function>.
Setting the border or changing the background such that the
border tile origin changes causes the border to be repainted.
Changing the background of a root window to
@@ -3590,7 +3590,7 @@ window.
Changing the backing-store of an obscured window to
<function>WhenMapped </function>
or
-<function>Always , </function>
+<function>Always</function>,
or changing the backing-planes, backing-pixel, or
save-under of a mapped window may have no immediate effect.
Changing the colormap of a window (that is, defining a new map, not
@@ -3600,7 +3600,7 @@ event.
Changing the colormap of a visible window may have no
immediate effect on the screen because the map may not be installed
(see
-<function>XInstallColormap ).</function>
+<function>XInstallColormap</function>).
Changing the cursor of a root window to
<function>None </function>
restores the default
@@ -3614,10 +3614,10 @@ Their event masks are maintained separately.
When an event is generated,
it is reported to all interested clients.
However, only one client at a time can select for
-<function>SubstructureRedirectMask , </function>
-<function>ResizeRedirectMask , </function>
+<function>SubstructureRedirectMask</function>,
+<function>ResizeRedirectMask</function>,
and
-<function>ButtonPressMask .</function>
+<function>ButtonPressMask</function>.
If a client attempts to select any of these event masks
and some other client has already selected one,
a
@@ -3630,12 +3630,12 @@ not one per client.
<!-- .LP -->
<function>XChangeWindowAttributes</function>
can generate
-<function>BadAccess ,</function>
-<function>BadColor ,</function>
-<function>BadCursor ,</function>
-<function>BadMatch ,</function>
-<function>BadPixmap ,</function>
-<function>BadValue ,</function>
+<function>BadAccess</function>,
+<function>BadColor</function>,
+<function>BadCursor</function>,
+<function>BadMatch</function>,
+<function>BadPixmap</function>,
+<function>BadValue</function>,
and
<function>BadWindow </function>
errors.
@@ -3644,7 +3644,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To set the background of a window to a given pixel, use
-<function>XSetWindowBackground .</function>
+<function>XSetWindowBackground</function>.
<indexterm significance="preferred"><primary>XSetWindowBackground</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3720,7 +3720,7 @@ errors.
<para>
<!-- .LP -->
To set the background of a window to a given pixmap, use
-<function>XSetWindowBackgroundPixmap .</function>
+<function>XSetWindowBackgroundPixmap</function>.
<indexterm><primary>Window</primary><secondary>background</secondary></indexterm>
<indexterm significance="preferred"><primary>XSetWindowBackgroundPixmap</primary></indexterm>
<!-- .sM -->
@@ -3761,9 +3761,9 @@ Specifies the window.
<listitem>
<para>
Specifies the background pixmap,
-<function>ParentRelative ,</function>
+<function>ParentRelative</function>,
or
-<function>None .</function>
+<function>None</function>.
</para>
</listitem>
</varlistentry>
@@ -3790,15 +3790,15 @@ window, a
<function>BadMatch</function>
error results.
If the background is set to
-<function>None ,</function>
+<function>None</function>,
the window has no defined background.
</para>
<para>
<!-- .LP -->
<function>XSetWindowBackgroundPixmap</function>
can generate
-<function>BadMatch ,</function>
-<function>BadPixmap ,</function>
+<function>BadMatch</function>,
+<function>BadPixmap</function>,
and
<function>BadWindow </function>
errors.
@@ -3813,7 +3813,7 @@ do not change the current contents of the window.
<!-- .LP -->
<!-- .sp -->
To change and repaint a window's border to a given pixel, use
-<function>XSetWindowBorder .</function>
+<function>XSetWindowBorder</function>.
<indexterm significance="preferred"><primary>XSetWindowBorder</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3883,7 +3883,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To change and repaint the border tile of a given window, use
-<function>XSetWindowBorderPixmap .</function>
+<function>XSetWindowBorderPixmap</function>.
<indexterm significance="preferred"><primary>XSetWindowBorderPixmap</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3923,7 +3923,7 @@ Specifies the window.
<listitem>
<para>
Specifies the border pixmap or
-<function>CopyFromParent .</function>
+<function>CopyFromParent</function>.
</para>
</listitem>
</varlistentry>
@@ -3938,7 +3938,7 @@ function sets the border pixmap of the window to the pixmap you specify.
The border pixmap can be freed immediately if no further explicit
references to it are to be made.
If you specify
-<function>CopyFromParent ,</function>
+<function>CopyFromParent</function>,
a copy of the parent window's border pixmap is used.
If you attempt to perform this on an
<function>InputOnly</function>
@@ -3952,8 +3952,8 @@ error results.
<!-- .LP -->
<function>XSetWindowBorderPixmap</function>
can generate
-<function>BadMatch ,</function>
-<function>BadPixmap ,</function>
+<function>BadMatch</function>,
+<function>BadPixmap</function>,
and
<function>BadWindow </function>
errors.
@@ -3962,7 +3962,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To set the colormap of a given window, use
-<function>XSetWindowColormap .</function>
+<function>XSetWindowColormap</function>.
<indexterm significance="preferred"><primary>XSetWindowColormap</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -4022,8 +4022,8 @@ error results.
<!-- .LP -->
<function>XSetWindowColormap</function>
can generate
-<function>BadColor ,</function>
-<function>BadMatch ,</function>
+<function>BadColor</function>,
+<function>BadMatch</function>,
and
<function>BadWindow </function>
errors.
@@ -4032,7 +4032,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To define which cursor will be used in a window, use
-<function>XDefineCursor .</function>
+<function>XDefineCursor</function>.
<indexterm><primary>Window</primary><secondary>defining the cursor</secondary></indexterm>
<indexterm significance="preferred"><primary>XDefineCursor</primary></indexterm>
<!-- .sM -->
@@ -4073,7 +4073,7 @@ Specifies the window.
<listitem>
<para>
Specifies the cursor that is to be displayed or
-<function>None .</function>
+<function>None</function>.
</para>
</listitem>
</varlistentry>
@@ -4084,9 +4084,9 @@ Specifies the cursor that is to be displayed or
<!-- .eM -->
If a cursor is set, it will be used when the pointer is in the window.
If the cursor is
-<function>None ,</function>
+<function>None</function>,
it is equivalent to
-<function>XUndefineCursor .</function>
+<function>XUndefineCursor</function>.
</para>
<para>
<!-- .LP -->
@@ -4101,7 +4101,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To undefine the cursor in a given window, use
-<function>XUndefineCursor .</function>
+<function>XUndefineCursor</function>.
<indexterm><primary>Window</primary><secondary>undefining the cursor</secondary></indexterm>
<indexterm significance="preferred"><primary>XUndefineCursor</primary></indexterm>
<!-- .sM -->
diff --git a/specs/libX11/CH04.xml b/specs/libX11/CH04.xml
index e29c5ff..381cc0a 100644
--- a/specs/libX11/CH04.xml
+++ b/specs/libX11/CH04.xml
@@ -32,7 +32,7 @@ exists.
<!-- .sp -->
To obtain the parent, a list of children, and number of children for
a given window, use
-<function>XQueryTree .</function>
+<function>XQueryTree</function>.
<indexterm><primary>Child Window</primary></indexterm>
<indexterm><primary>Parent Window</primary></indexterm>
<indexterm significance="preferred"><primary>XQueryTree</primary></indexterm>
@@ -128,7 +128,7 @@ The children are listed in current stacking order, from bottom-most
<function>XQueryTree</function>
returns zero if it fails and nonzero if it succeeds.
To free a non-NULL children list when it is no longer needed, use
-<function>XFree .</function>
+<function>XFree</function>.
</para>
<para>
<!-- .LP -->
@@ -141,7 +141,7 @@ error.
<!-- .LP -->
<!-- .sp -->
To obtain the current attributes of a given window, use
-<function>XGetWindowAttributes .</function>
+<function>XGetWindowAttributes</function>.
<indexterm significance="preferred"><primary>XGetWindowAttributes</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -247,7 +247,7 @@ The root member is set to the root window of the screen containing the window.
The class member is set to the window's class and can be either
<function>InputOutput</function>
or
-<function>InputOnly .</function>
+<function>InputOnly</function>.
</para>
<para>
<!-- .LP -->
@@ -330,10 +330,10 @@ see section 3.2.3. <!-- xref -->
The backing_store member is set to indicate how the X server should maintain
the contents of a window
and can be
-<function>WhenMapped ,</function>
-<function>Always ,</function>
+<function>WhenMapped</function>,
+<function>Always</function>,
or
-<function>NotUseful .</function>
+<function>NotUseful</function>.
The backing_planes member is set to indicate (with bits set to 1) which bit
planes of the window hold dynamic data that must be preserved in backing_stores
and during save_unders.
@@ -345,20 +345,20 @@ for planes not set in backing_planes.
The save_under member is set to
<function>True</function>
or
-<function>False .</function>
+<function>False</function>.
The colormap member is set to the colormap for the specified window and can be
a colormap ID or
-<function>None .</function>
+<function>None</function>.
The map_installed member is set to indicate whether the colormap is
currently installed and can be
<function>True</function>
or
-<function>False .</function>
+<function>False</function>.
The map_state member is set to indicate the state of the window and can be
-<function>IsUnmapped ,</function>
-<function>IsUnviewable ,</function>
+<function>IsUnmapped</function>,
+<function>IsUnviewable</function>,
or
-<function>IsViewable .</function>
+<function>IsViewable</function>.
<function>IsUnviewable</function>
is used if the window is mapped but some ancestor is unmapped.
</para>
@@ -377,9 +377,9 @@ The override_redirect member is set to indicate whether this window overrides
structure control facilities and can be
<function>True</function>
or
-<function>False .</function>
+<function>False</function>.
Window manager clients should ignore the window if this member is
-<function>True .</function>
+<function>True</function>.
</para>
<para>
<!-- .LP -->
@@ -401,7 +401,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To obtain the current geometry of a given drawable, use
-<function>XGetGeometry .</function>
+<function>XGetGeometry</function>.
<indexterm significance="preferred"><primary>XGetGeometry</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -530,7 +530,7 @@ The geometry of the drawable includes the x and y coordinates, width and height,
border width, and depth.
These are described in the argument list.
It is legal to pass to this function a window whose class is
-<function>InputOnly .</function>
+<function>InputOnly</function>.
</para>
<para>
<!-- .LP -->
@@ -562,7 +562,7 @@ asking the X server to perform these operations.
<!-- .sp -->
To translate a coordinate in one window to the coordinate
space of another window, use
-<function>XTranslateCoordinates .</function>
+<function>XTranslateCoordinates</function>.
<indexterm significance="preferred"><primary>XTranslateCoordinates</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -668,7 +668,7 @@ destination window.
If
<function>XTranslateCoordinates</function>
returns
-<function>True ,</function>
+<function>True</function>,
it takes the src_x and src_y coordinates relative
to the source window's origin and returns these coordinates to
dest_x_return and dest_y_return
@@ -676,13 +676,13 @@ relative to the destination window's origin.
If
<function>XTranslateCoordinates</function>
returns
-<function>False , </function>
+<function>False</function>,
src_w and dest_w are on different screens,
and dest_x_return and dest_y_return are zero.
If the coordinates are contained in a mapped child of dest_w,
that child is returned to child_return.
Otherwise, child_return is set to
-<function>None .</function>
+<function>None</function>.
</para>
<para>
<!-- .LP -->
@@ -696,7 +696,7 @@ error.
<!-- .sp -->
To obtain the screen coordinates of the pointer
or to determine the pointer coordinates relative to a specified window, use
-<function>XQueryPointer .</function>
+<function>XQueryPointer</function>.
<indexterm significance="preferred"><primary>XQueryPointer</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -817,7 +817,7 @@ coordinates relative to the root window's origin.
If
<function>XQueryPointer</function>
returns
-<function>False , </function>
+<function>False</function>,
the pointer is not on the same screen as the specified window, and
<function>XQueryPointer</function>
returns
@@ -826,7 +826,7 @@ to child_return and zero to win_x_return and win_y_return.
If
<function>XQueryPointer</function>
returns
-<function>True , </function>
+<function>True</function>,
the pointer coordinates returned to win_x_return and win_y_return
are relative to the origin of the specified window.
In this case,
@@ -1183,7 +1183,7 @@ see section 8.5. <!-- xref -->
<!-- .LP -->
<!-- .sp -->
To return an atom for a given name, use
-<function>XInternAtom .</function>
+<function>XInternAtom</function>.
<indexterm><primary>Atom</primary><secondary>interning</secondary></indexterm>
<indexterm significance="preferred"><primary>XInternAtom</primary></indexterm>
<!-- .sM -->
@@ -1237,12 +1237,12 @@ The
function returns the atom identifier associated with the specified atom_name
string.
If only_if_exists is
-<function>False ,</function>
+<function>False</function>,
the atom is created if it does not exist.
Therefore,
<function>XInternAtom</function>
can return
-<function>None .</function>
+<function>None</function>.
If the atom name is not in the Host Portable Character Encoding,
the result is implementation-dependent.
Uppercase and lowercase matter;
@@ -1265,7 +1265,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To return atoms for an array of names, use
-<function>XInternAtoms .</function>
+<function>XInternAtoms</function>.
<indexterm><primary>Atom</primary><secondary>interning</secondary></indexterm>
<indexterm significance="preferred"><primary>XInternAtoms</primary></indexterm>
<!-- .sM -->
@@ -1366,7 +1366,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To return a name for a given atom identifier, use
-<function>XGetAtomName .</function>
+<function>XGetAtomName</function>.
<indexterm><primary>Atom</primary><secondary>getting name</secondary></indexterm>
<indexterm significance="preferred"><primary>XGetAtomName</primary></indexterm>
<!-- .sM -->
@@ -1412,7 +1412,7 @@ then the returned string is in the Host Portable Character Encoding.
Otherwise, the result is implementation-dependent.
To free the resulting string,
call
-<function>XFree .</function>
+<function>XFree</function>.
</para>
<para>
<!-- .LP -->
@@ -1425,7 +1425,7 @@ error.
<!-- .LP -->
<!-- .sp -->
To return the names for an array of atom identifiers, use
-<function>XGetAtomNames .</function>
+<function>XGetAtomNames</function>.
<indexterm><primary>Atom</primary><secondary>getting name</secondary></indexterm>
<indexterm significance="preferred"><primary>XGetAtomNames</primary></indexterm>
<!-- .sM -->
@@ -1539,7 +1539,7 @@ communication (see chapter 14). <!-- xref -->
<!-- .LP -->
<!-- .sp -->
To obtain the type, format, and value of a property of a given window, use
-<function>XGetWindowProperty .</function>
+<function>XGetWindowProperty</function>.
<indexterm><primary>Property</primary><secondary>getting</secondary></indexterm>
</para>
<para>
@@ -1634,7 +1634,7 @@ Specifies a Boolean value that determines whether the property is deleted.
<listitem>
<para>
Specifies the atom identifier associated with the property type or
-<function>AnyPropertyType .</function>
+<function>AnyPropertyType</function>.
</para>
</listitem>
</varlistentry>
@@ -1806,14 +1806,14 @@ The function returns
if it executes successfully.
To free the resulting data,
use
-<function>XFree .</function>
+<function>XFree</function>.
</para>
<para>
<!-- .LP -->
<function>XGetWindowProperty</function>
can generate
-<function>BadAtom ,</function>
-<function>BadValue ,</function>
+<function>BadAtom</function>,
+<function>BadValue</function>,
and
<function>BadWindow </function>
errors.
@@ -1822,7 +1822,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To obtain a given window's property list, use
-<function>XListProperties .</function>
+<function>XListProperties</function>.
<indexterm><primary>Property</primary><secondary>listing</secondary></indexterm>
<indexterm significance="preferred"><primary>XListProperties</primary></indexterm>
<!-- .sM -->
@@ -1877,7 +1877,7 @@ The
function returns a pointer to an array of atom properties that are defined for
the specified window or returns NULL if no properties were found.
To free the memory allocated by this function, use
-<function>XFree .</function>
+<function>XFree</function>.
</para>
<para>
<!-- .LP -->
@@ -1890,7 +1890,7 @@ error.
<!-- .LP -->
<!-- .sp -->
To change a property of a given window, use
-<function>XChangeProperty .</function>
+<function>XChangeProperty</function>.
<indexterm><primary>Property</primary><secondary>changing</secondary></indexterm>
<indexterm><primary>Property</primary><secondary>appending</secondary></indexterm>
<indexterm><primary>Property</primary><secondary>prepending</secondary></indexterm>
@@ -1953,7 +1953,7 @@ Specifies the property name.
Specifies the type of the property.
The X server does not interpret the type but simply
passes it back to an application that later calls
-<function>XGetWindowProperty .</function>
+<function>XGetWindowProperty</function>.
</para>
</listitem>
</varlistentry>
@@ -1971,7 +1971,7 @@ byte-swap operations as necessary.
If the format is 16-bit or 32-bit,
you must explicitly cast your data pointer to an (unsigned char *) in the call
to
-<function>XChangeProperty .</function>
+<function>XChangeProperty</function>.
<!-- .\" Changed name of this file to prop_mode.a on 1/13/87 -->
</para>
</listitem>
@@ -1984,10 +1984,10 @@ to
<para>
Specifies the mode of the operation.
You can pass
-<function>PropModeReplace ,</function>
-<function>PropModePrepend ,</function>
+<function>PropModeReplace</function>,
+<function>PropModePrepend</function>,
or
-<function>PropModeAppend .</function>
+<function>PropModeAppend</function>.
</para>
</listitem>
</varlistentry>
@@ -2029,7 +2029,7 @@ performs the following:
<listitem>
<para>
If mode is
-<function>PropModeReplace ,</function>
+<function>PropModeReplace</function>,
<function>XChangeProperty</function>
discards the previous property value and stores the new data.
</para>
@@ -2039,7 +2039,7 @@ discards the previous property value and stores the new data.
If mode is
<function>PropModePrepend</function>
or
-<function>PropModeAppend ,</function>
+<function>PropModeAppend</function>,
<function>XChangeProperty</function>
inserts the specified data before the beginning of the existing data
or onto the end of the existing data, respectively.
@@ -2082,10 +2082,10 @@ error results.)
<!-- .LP -->
<function>XChangeProperty</function>
can generate
-<function>BadAlloc ,</function>
-<function>BadAtom ,</function>
-<function>BadMatch ,</function>
-<function>BadValue ,</function>
+<function>BadAlloc</function>,
+<function>BadAtom</function>,
+<function>BadMatch</function>,
+<function>BadValue</function>,
and
<function>BadWindow </function>
errors.
@@ -2094,7 +2094,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To rotate a window's property list, use
-<function>XRotateWindowProperties .</function>
+<function>XRotateWindowProperties</function>.
</para>
<para>
<!-- .LP -->
@@ -2200,8 +2200,8 @@ no properties are changed.
<!-- .LP -->
<function>XRotateWindowProperties</function>
can generate
-<function>BadAtom ,</function>
-<function>BadMatch ,</function>
+<function>BadAtom</function>,
+<function>BadMatch</function>,
and
<function>BadWindow </function>
errors.
@@ -2210,7 +2210,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To delete a property on a given window, use
-<function>XDeleteProperty .</function>
+<function>XDeleteProperty</function>.
<indexterm><primary>Property</primary><secondary>deleting</secondary></indexterm>
<indexterm significance="preferred"><primary>XDeleteProperty</primary></indexterm>
<!-- .sM -->
@@ -2333,7 +2333,7 @@ The protocol does not constrain the semantics.
<!-- .LP -->
<!-- .sp -->
To set the selection owner, use
-<function>XSetSelectionOwner .</function>
+<function>XSetSelectionOwner</function>.
<indexterm><primary>Selection</primary><secondary>setting the owner</secondary></indexterm>
<indexterm significance="preferred"><primary>XSetSelectionOwner</primary></indexterm>
<!-- .sM -->
@@ -2376,7 +2376,7 @@ Specifies the selection atom.
<para>
Specifies the owner of the specified selection atom.
You can pass a window or
-<function>None .</function>
+<function>None</function>.
</para>
</listitem>
</varlistentry>
@@ -2388,7 +2388,7 @@ You can pass a window or
<para>
Specifies the time.
You can pass either a timestamp or
-<function>CurrentTime .</function>
+<function>CurrentTime</function>.
</para>
</listitem>
</varlistentry>
@@ -2408,7 +2408,7 @@ with
<function>CurrentTime</function>
replaced by the current server time.
If the owner window is specified as
-<function>None ,</function>
+<function>None</function>,
then the owner of the selection becomes
<function>None</function>
(that is, no owner).
@@ -2418,11 +2418,11 @@ the request.
<para>
<!-- .LP -->
If the new owner (whether a client or
-<function>None )</function>
+<function>None</function>)
is not
the same as the current owner of the selection and the current
owner is not
-<function>None ,</function>
+<function>None</function>,
the current owner is sent a
<function>SelectionClear </function>
event.
@@ -2432,7 +2432,7 @@ or if the owner window it has specified in the request is later
destroyed,
the owner of the selection automatically
reverts to
-<function>None ,</function>
+<function>None</function>,
but the last-change time is not affected.
The selection atom is uninterpreted by the X server.
<function>XGetSelectionOwner</function>
@@ -2456,7 +2456,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To return the selection owner, use
-<function>XGetSelectionOwner .</function>
+<function>XGetSelectionOwner</function>.
<indexterm><primary>Selection</primary><secondary>getting the owner</secondary></indexterm>
<indexterm significance="preferred"><primary>XGetSelectionOwner</primary></indexterm>
<!-- .sM -->
@@ -2501,7 +2501,7 @@ function
returns the window ID associated with the window that currently owns the
specified selection.
If no selection was specified, the function returns the constant
-<function>None .</function>
+<function>None</function>.
If
<function>None</function>
is returned,
@@ -2518,7 +2518,7 @@ error.
<!-- .LP -->
<!-- .sp -->
To request conversion of a selection, use
-<function>XConvertSelection .</function>
+<function>XConvertSelection</function>.
<indexterm><primary>Selection</primary><secondary>converting</secondary></indexterm>
<indexterm significance="preferred"><primary>XConvertSelection</primary></indexterm>
<!-- .sM -->
@@ -2572,7 +2572,7 @@ Specifies the target atom.
<para>
Specifies the property name.
You also can pass
-<function>None .</function>
+<function>None</function>.
</para>
</listitem>
</varlistentry>
@@ -2594,7 +2594,7 @@ Specifies the requestor.
<para>
Specifies the time.
You can pass either a timestamp or
-<function>CurrentTime .</function>
+<function>CurrentTime</function>.
</para>
</listitem>
</varlistentry>
@@ -2622,7 +2622,7 @@ selection exists, the X server generates a
<function>SelectionNotify</function>
event to the
requestor with property
-<function>None .</function>
+<function>None</function>.
</para>
</listitem>
</itemizedlist>
diff --git a/specs/libX11/CH05.xml b/specs/libX11/CH05.xml
index 73b6c57..9faa197 100644
--- a/specs/libX11/CH05.xml
+++ b/specs/libX11/CH05.xml
@@ -18,7 +18,7 @@ A bitmap is a single bit-plane pixmap.
<!-- .LP -->
<!-- .sp -->
To create a pixmap of a given size, use
-<function>XCreatePixmap .</function>
+<function>XCreatePixmap</function>.
<indexterm significance="preferred"><primary>XCreatePixmap</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -120,8 +120,8 @@ The initial contents of the pixmap are undefined.
<!-- .LP -->
<function>XCreatePixmap</function>
can generate
-<function>BadAlloc ,</function>
-<function>BadDrawable ,</function>
+<function>BadAlloc</function>,
+<function>BadDrawable</function>,
and
<function>BadValue </function>
errors.
@@ -130,7 +130,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To free all storage associated with a specified pixmap, use
-<function>XFreePixmap .</function>
+<function>XFreePixmap</function>.
<indexterm significance="preferred"><primary>XFreePixmap</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -217,7 +217,7 @@ from an arbitrary font or from bitmaps.
<!-- .LP -->
<!-- .sp -->
To create a cursor from the standard cursor font, use
-<function>XCreateFontCursor .</function>
+<function>XCreateFontCursor</function>.
</para>
<para>
#include &lt;X11/cursorfont.h&gt;
@@ -272,7 +272,7 @@ to use.
The hotspot comes from the information stored in the cursor font.
The initial colors of a cursor are a black foreground and a white
background (see
-<function>XRecolorCursor ).</function>
+<function>XRecolorCursor</function>).
For further information about cursor shapes,
see appendix B.
</para>
@@ -289,7 +289,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To create a cursor from font glyphs, use
-<function>XCreateGlyphCursor .</function>
+<function>XCreateGlyphCursor</function>.
<indexterm significance="preferred"><primary>XCreateGlyphCursor</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -331,7 +331,7 @@ Specifies the font for the source glyph.
<listitem>
<para>
Specifies the font for the mask glyph or
-<function>None .</function>
+<function>None</function>.
</para>
</listitem>
</varlistentry>
@@ -417,8 +417,8 @@ least significant byte.
<!-- .LP -->
<function>XCreateGlyphCursor</function>
can generate
-<function>BadAlloc ,</function>
-<function>BadFont ,</function>
+<function>BadAlloc</function>,
+<function>BadFont</function>,
and
<function>BadValue </function>
errors.
@@ -428,7 +428,7 @@ errors.
<!-- .sp -->
To create a cursor from two bitmaps,
use
-<function>XCreatePixmapCursor .</function>
+<function>XCreatePixmapCursor</function>.
<indexterm significance="preferred"><primary>XCreatePixmapCursor</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -472,7 +472,7 @@ Specifies the shape of the source cursor.
<listitem>
<para>
Specifies the cursor's source bits to be displayed or
-<function>None .</function>
+<function>None</function>.
</para>
</listitem>
</varlistentry>
@@ -575,7 +575,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To determine useful cursor sizes, use
-<function>XQueryBestCursor .</function>
+<function>XQueryBestCursor</function>.
<indexterm significance="preferred"><primary>XQueryBestCursor</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -680,7 +680,7 @@ error.
<!-- .LP -->
<!-- .sp -->
To change the color of a given cursor, use
-<function>XRecolorCursor .</function>
+<function>XRecolorCursor</function>.
<indexterm significance="preferred"><primary>XRecolorCursor</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -758,7 +758,7 @@ error.
<!-- .LP -->
<!-- .sp -->
To free (destroy) a given cursor, use
-<function>XFreeCursor .</function>
+<function>XFreeCursor</function>.
<indexterm significance="preferred"><primary>XFreeCursor</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
diff --git a/specs/libX11/CH06.xml b/specs/libX11/CH06.xml
index 6464457..cd3e0a8 100644
--- a/specs/libX11/CH06.xml
+++ b/specs/libX11/CH06.xml
@@ -131,7 +131,7 @@ windows using other colormaps generally display with incorrect colors.
You can control the set of installed colormaps by using
<function>XInstallColormap</function>
and
-<function>XUninstallColormap .</function>
+<function>XUninstallColormap</function>.
</para>
<para>
<!-- .LP -->
@@ -156,11 +156,11 @@ macro
returns the default visual type for the specified screen.
<indexterm><primary>Color map</primary></indexterm>
Possible visual types are
-<function>StaticGray , </function>
-<function>GrayScale , </function>
-<function>StaticColor ,</function>
-<function>PseudoColor , </function>
-<function>TrueColor , </function>
+<function>StaticGray</function>,
+<function>GrayScale</function>,
+<function>StaticColor</function>,
+<function>PseudoColor</function>,
+<function>TrueColor</function>,
or
<function>DirectColor </function>
(see section 3.1).
@@ -204,10 +204,10 @@ and white is represented by (65535,65535,65535).
In some functions,
the flags member controls which of the red, green, and blue members is used
and can be the inclusive OR of zero or more of
-<function>DoRed ,</function>
-<function>DoGreen ,</function>
+<function>DoRed</function>,
+<function>DoGreen</function>,
and
-<function>DoBlue .</function>
+<function>DoBlue</function>.
</para>
<para>
<!-- .LP -->
@@ -258,7 +258,7 @@ typedef struct {
Because the color specification can be encoded for the various color spaces,
encoding for the spec member is identified by the format member,
which is of type
-<function>XcmsColorFormat .</function>
+<function>XcmsColorFormat</function>.
The following macros define standard formats.
<!-- .sM -->
</para>
@@ -294,7 +294,7 @@ then reference should be made by color space string prefix
(see
<function>XcmsFormatOfPrefix</function>
and
-<function>XcmsPrefixOfFormat ).</function>
+<function>XcmsPrefixOfFormat</function>).
</para>
<para>
<!-- .LP -->
@@ -431,7 +431,7 @@ The device-dependent formats provided allow color specification in:
<listitem>
<para>
<acronym>RGB</acronym> Intensity
-<function>( XcmsRGBi )</function>
+(<function>XcmsRGBi</function>)
</para>
</listitem>
<listitem>
@@ -444,7 +444,7 @@ where 1.0 indicates full intensity, 0.5 half intensity, and so on.
<listitem>
<para>
<acronym>RGB</acronym> Device
-<function>( XcmsRGB )</function>
+(<function>XcmsRGB</function>)
</para>
</listitem>
<listitem>
@@ -802,7 +802,7 @@ or in the CCC indirectly specified by means of the colormap argument.
<para>
<!-- .LP -->
To create a colormap for a screen, use
-<function>XCreateColormap .</function></para>
+<function>XCreateColormap</function>.</para>
<indexterm significance="preferred"><primary>XCreateColormap</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -861,7 +861,7 @@ Specifies the colormap entries to be allocated.
You can pass
<function>AllocNone </function>
or
-<function>AllocAll .</function>
+<function>AllocAll</function>.
</para>
</listitem>
</varlistentry>
@@ -881,30 +881,30 @@ Note that the specified window is only used to determine the screen.
<!-- .LP -->
The initial values of the colormap entries are undefined for the
visual classes
-<function>GrayScale ,</function>
-<function>PseudoColor ,</function>
+<function>GrayScale</function>,
+<function>PseudoColor</function>,
and
-<function>DirectColor .</function>
+<function>DirectColor</function>.
For
-<function>StaticGray ,</function>
-<function>StaticColor ,</function>
+<function>StaticGray</function>,
+<function>StaticColor</function>,
and
-<function>TrueColor ,</function>
+<function>TrueColor</function>,
the entries have defined values,
but those values are specific to the visual and are not defined by X.
For
-<function>StaticGray ,</function>
-<function>StaticColor ,</function>
+<function>StaticGray</function>,
+<function>StaticColor</function>,
and
-<function>TrueColor ,</function>
+<function>TrueColor</function>,
alloc must be
-<function>AllocNone ,</function>
+<function>AllocNone</function>,
or a
<function>BadMatch</function>
error results.
For the other visual classes,
if alloc is
-<function>AllocNone ,</function>
+<function>AllocNone</function>,
the colormap initially has no allocated entries,
and clients can allocate them.
For information about the visual types,
@@ -913,19 +913,19 @@ see section 3.1.
<para>
<!-- .LP -->
If alloc is
-<function>AllocAll ,</function>
+<function>AllocAll</function>,
the entire colormap is allocated writable.
The initial values of all allocated entries are undefined.
For
<function>GrayScale</function>
and
-<function>PseudoColor ,</function>
+<function>PseudoColor</function>,
the effect is as if an
<function>XAllocColorCells</function>
call returned all pixel values from zero to N - 1,
where N is the colormap entries value in the specified visual.
For
-<function>DirectColor ,</function>
+<function>DirectColor</function>,
the effect is as if an
<function>XAllocColorPlanes</function>
call returned a pixel value of zero and red_mask, green_mask,
@@ -933,15 +933,15 @@ and blue_mask values containing the same bits as the corresponding
masks in the specified visual.
However, in all cases,
none of these entries can be freed by using
-<function>XFreeColors .</function>
+<function>XFreeColors</function>.
</para>
<para>
<!-- .LP -->
<function>XCreateColormap</function>
can generate
-<function>BadAlloc ,</function>
-<function>BadMatch ,</function>
-<function>BadValue ,</function>
+<function>BadAlloc</function>,
+<function>BadMatch</function>,
+<function>BadValue</function>,
and
<function>BadWindow </function>
errors.
@@ -951,7 +951,7 @@ errors.
<!-- .sp -->
To create a new colormap when the allocation out of a previously
shared colormap has failed because of resource exhaustion, use
-<function>XCopyColormapAndFree .</function>
+<function>XCopyColormapAndFree</function>.
<indexterm significance="preferred"><primary>XCopyColormapAndFree</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -998,18 +998,18 @@ and their read-only or writable characteristics intact and frees those entries
in the specified colormap.
Color values in other entries in the new colormap are undefined.
If the specified colormap was created by the client with alloc set to
-<function>AllocAll ,</function>
+<function>AllocAll</function>,
the new colormap is also created with
-<function>AllocAll ,</function>
+<function>AllocAll</function>,
all color values for all entries are copied from the specified colormap,
and then all entries in the specified colormap are freed.
If the specified colormap was not created by the client with
-<function>AllocAll ,</function>
+<function>AllocAll</function>,
the allocations to be moved are all those pixels and planes
that have been allocated by the client using
-<function>XAllocColor ,</function>
-<function>XAllocNamedColor ,</function>
-<function>XAllocColorCells ,</function>
+<function>XAllocColor</function>,
+<function>XAllocNamedColor</function>,
+<function>XAllocColorCells</function>,
or
<function>XAllocColorPlanes</function>
and that have not been freed since they were allocated.
@@ -1027,7 +1027,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To destroy a colormap, use
-<function>XFreeColormap .</function>
+<function>XFreeColormap</function>.
<indexterm significance="preferred"><primary>XFreeColormap</primary></indexterm>
</para>
<!-- .sM -->
@@ -1073,12 +1073,12 @@ and the colormap and frees the colormap storage.
However, this function has no effect on the default colormap for a screen.
If the specified colormap is an installed map for a screen,
it is uninstalled (see
-<function>XUninstallColormap ).</function>
+<function>XUninstallColormap</function>).
If the specified colormap is defined as the colormap for a window (by
-<function>XCreateWindow ,</function>
-<function>XSetWindowColormap ,</function>
+<function>XCreateWindow</function>,
+<function>XSetWindowColormap</function>,
or
-<function>XChangeWindowAttributes ),</function>
+<function>XChangeWindowAttributes</function>),
<function>XFreeColormap</function>
changes the colormap associated with the window to
<function>None </function>
@@ -1086,7 +1086,7 @@ and generates a
<function>ColormapNotify</function>
event.
X does not define the colors displayed for a window with a colormap of
-<function>None .</function>
+<function>None</function>.
</para>
<para>
<!-- .LP -->
@@ -1105,7 +1105,7 @@ error.
<!-- .LP -->
<!-- .sp -->
To map a color name to an <acronym>RGB</acronym> value, use
-<function>XLookupColor .</function>
+<function>XLookupColor</function>.
<indexterm><primary>Color</primary><secondary>naming</secondary></indexterm>
<indexterm significance="preferred"><primary>XLookupColor</primary></indexterm>
<!-- .sM -->
@@ -1202,7 +1202,7 @@ error.
<!-- .LP -->
<!-- .sp -->
To map a color name to the exact <acronym>RGB</acronym> value, use
-<function>XParseColor .</function>
+<function>XParseColor</function>.
</para>
<indexterm><primary>Color</primary><secondary>naming</secondary></indexterm>
<indexterm significance="preferred"><primary>XParseColor</primary></indexterm>
@@ -1256,8 +1256,8 @@ case is ignored.
<listitem>
<para>
Returns the exact color value for later use and sets the
-<function>DoRed ,</function>
-<function>DoGreen ,</function>
+<function>DoRed</function>,
+<function>DoGreen</function>,
and
<function>DoBlue</function>
flags.
@@ -1292,7 +1292,7 @@ error.
<!-- .LP -->
<!-- .sp -->
To map a color name to a value in an arbitrary color space, use
-<function>XcmsLookupColor .</function>
+<function>XcmsLookupColor</function>.
</para>
<indexterm><primary>Color</primary><secondary>naming</secondary></indexterm>
<indexterm significance="preferred"><primary>XcmsLookupColor</primary></indexterm>
@@ -1405,7 +1405,7 @@ returns
or
<function>XcmsSuccessWithCompression</function>
if the name is resolved; otherwise, it returns
-<function>XcmsFailure .</function>
+<function>XcmsFailure</function>.
If
<function>XcmsSuccessWithCompression</function>
is returned, the color specification returned in
@@ -1446,7 +1446,7 @@ times, the server counts each such allocation, not just the first one.
<!-- .LP -->
<!-- .sp -->
To allocate a read-only color cell with an <acronym>RGB</acronym> value, use
-<function>XAllocColor .</function>
+<function>XAllocColor</function>.
</para>
<indexterm><primary>Allocation</primary><secondary>read-only colormap cells</secondary></indexterm>
<indexterm><primary>Read-only colormap cells</primary><secondary>allocating</secondary></indexterm>
@@ -1536,7 +1536,7 @@ delim %%
<!-- .LP -->
<!-- .sp -->
To allocate a read-only color cell with a color in arbitrary format, use
-<function>XcmsAllocColor .</function>
+<function>XcmsAllocColor</function>.
</para>
<indexterm><primary>Allocation</primary><secondary>read-only colormap cells</secondary></indexterm>
<indexterm><primary>Read-only colormap cells</primary><secondary>allocating</secondary></indexterm>
@@ -1612,7 +1612,7 @@ to allocate a read-only color cell (colormap entry) with the specified color.
<function>XcmsAllocColor</function>
first converts the color specified
to an <acronym>RGB</acronym> value and then passes this to
-<function>XAllocColor .</function>
+<function>XAllocColor</function>.
<function>XcmsAllocColor</function>
returns the pixel value of the color cell and the color specification
actually allocated.
@@ -1622,10 +1622,10 @@ returned by
into the format specified with the result_format argument.
If there is no interest in a returned color specification,
unnecessary computation can be bypassed if result_format is set to
-<function>XcmsRGBFormat .</function>
+<function>XcmsRGBFormat</function>.
The corresponding colormap cell is read-only.
If this routine returns
-<function>XcmsFailure , </function>
+<function>XcmsFailure</function>,
the color_in_out color specification is left unchanged.
</para>
<para>
@@ -1640,7 +1640,7 @@ error.
<!-- .sp -->
To allocate a read-only color cell using a color name and return the closest
color supported by the hardware in <acronym>RGB</acronym> format, use
-<function>XAllocNamedColor .</function>
+<function>XAllocNamedColor</function>.
</para>
<indexterm><primary>Allocation</primary><secondary>read-only colormap cells</secondary></indexterm>
<indexterm><primary>Read-only colormap cells</primary><secondary>allocating</secondary></indexterm>
@@ -1745,7 +1745,7 @@ error.
<!-- .sp -->
To allocate a read-only color cell using a color name and return the closest
color supported by the hardware in an arbitrary format, use
-<function>XcmsAllocNamedColor .</function>
+<function>XcmsAllocNamedColor</function>.
</para>
<indexterm><primary>Allocation</primary><secondary>read-only colormap cells</secondary></indexterm>
<indexterm><primary>Read-only colormap cells</primary><secondary>allocating</secondary></indexterm>
@@ -1858,10 +1858,10 @@ the color specified by a color string.
The color string is parsed into an
<function>XcmsColor</function>
structure (see
-<function>XcmsLookupColor ),</function>
+<function>XcmsLookupColor</function>),
converted
to an <acronym>RGB</acronym> value, and finally passed to
-<function>XAllocColor .</function>
+<function>XAllocColor</function>.
If the color name is not in the Host Portable Character Encoding,
the result is implementation-dependent.
Use of uppercase or lowercase does not matter.
@@ -1877,7 +1877,7 @@ returned by
into the format specified in result_format.
If there is no interest in a returned color specification,
unnecessary computation can be bypassed if result_format is set to
-<function>XcmsRGBFormat .</function>
+<function>XcmsRGBFormat</function>.
If color_screen_return and color_exact_return
point to the same structure, the pixel field will be set correctly,
but the color values are undefined.
@@ -1895,7 +1895,7 @@ error.
To allocate read/write color cell and color plane combinations for a
<function>PseudoColor</function>
model, use
-<function>XAllocColorCells .</function>
+<function>XAllocColorCells</function>.
</para>
<indexterm><primary>Read/write colormap cells</primary><secondary>allocating</secondary></indexterm>
<indexterm><primary>Allocation</primary><secondary>read/write colormap cells</secondary></indexterm>
@@ -2016,10 +2016,10 @@ allocated writable by the request.
For
<function>GrayScale </function>
or
-<function>PseudoColor , </function>
+<function>PseudoColor</function>,
each mask has exactly one bit set to 1.
For
-<function>DirectColor , </function>
+<function>DirectColor</function>,
each has exactly three bits set to 1.
If contig is
<function>True </function>
@@ -2030,7 +2030,7 @@ or
<function>PseudoColor </function>
and three contiguous sets of bits set to 1 (one within each
pixel subfield) for
-<function>DirectColor .</function>
+<function>DirectColor</function>.
The <acronym>RGB</acronym> values of the allocated
entries are undefined.
<function>XAllocColorCells</function>
@@ -2051,7 +2051,7 @@ errors.
To allocate read/write color resources for a
<function>DirectColor</function>
model, use
-<function>XAllocColorPlanes .</function>
+<function>XAllocColorPlanes</function>.
</para>
<indexterm><primary>Read/write colormap planes</primary><secondary>allocating</secondary></indexterm>
<indexterm><primary>Allocation</primary><secondary>read/write colormap planes</secondary></indexterm>
@@ -2209,13 +2209,13 @@ If ncolors colors, nreds reds, ngreens greens, and nblues blues are requested,
ncolors pixels are returned; and the masks have nreds, ngreens, and
nblues bits set to 1, respectively.
If contig is
-<function>True , </function>
+<function>True</function>,
each mask will have
a contiguous set of bits set to 1.
No mask will have any bits set to 1 in common with
any other mask or with any of the pixels.
For
-<function>DirectColor , </function>
+<function>DirectColor</function>,
each mask
will lie within the corresponding pixel subfield.
By ORing together
@@ -2227,13 +2227,13 @@ colormap, there are only ncolors * %2 sup nreds% independent red entries,
ncolors * %2 sup ngreens% independent green entries,
and ncolors * %2 sup nblues% independent blue entries.
This is true even for
-<function>PseudoColor .</function>
+<function>PseudoColor</function>.
When the colormap entry of a pixel
value is changed (using
-<function>XStoreColors ,</function>
-<function>XStoreColor ,</function>
+<function>XStoreColors</function>,
+<function>XStoreColor</function>,
or
-<function>XStoreNamedColor ),</function>
+<function>XStoreNamedColor</function>),
the pixel is decomposed according to the masks,
and the corresponding independent entries are updated.
<function>XAllocColorPlanes</function>
@@ -2253,7 +2253,7 @@ errors.
<!-- .sp -->
<indexterm><primary>Freeing</primary><secondary>colors</secondary></indexterm>
To free colormap cells, use
-<function>XFreeColors .</function>
+<function>XFreeColors</function>.
<indexterm significance="preferred"><primary>XFreeColors</primary></indexterm>
<indexterm><primary>Color</primary><secondary>deallocation</secondary></indexterm>
<!-- .sM -->
@@ -2340,11 +2340,11 @@ were allocated by the client (using
<indexterm><primary>XAllocNamedColor</primary></indexterm>
<indexterm><primary>XAllocColorCells</primary></indexterm>
<indexterm><primary>XAllocColorPlanes</primary></indexterm>
-<function>XAllocColor , </function>
-<function>XAllocNamedColor ,</function>
-<function>XAllocColorCells ,</function>
+<function>XAllocColor</function>,
+<function>XAllocNamedColor</function>,
+<function>XAllocColorCells</function>,
and
-<function>XAllocColorPlanes ).</function>
+<function>XAllocColorPlanes</function>).
Note that freeing an
individual pixel obtained from
<function>XAllocColorPlanes </function>
@@ -2367,7 +2367,7 @@ client (that is, is unallocated or is only allocated by another client)
or if the colormap was created with all entries writable (by passing
<function>AllocAll</function>
to
-<function>XCreateColormap ),</function>
+<function>XCreateColormap</function>),
a
<function>BadAccess</function>
error results.
@@ -2378,8 +2378,8 @@ the one that gets reported is arbitrary.
<!-- .LP -->
<function>XFreeColors</function>
can generate
-<function>BadAccess ,</function>
-<function>BadColor ,</function>
+<function>BadAccess</function>,
+<function>BadColor</function>,
and
<function>BadValue </function>
errors.
@@ -2394,7 +2394,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To store an <acronym>RGB</acronym> value in a single colormap cell, use
-<function>XStoreColor .</function>
+<function>XStoreColor</function>.
</para>
<indexterm><primary>Color</primary><secondary>storing</secondary></indexterm>
<indexterm significance="preferred"><primary>XStoreColor</primary></indexterm>
@@ -2462,8 +2462,8 @@ error results.
<function>XStoreColor</function>
also changes the red, green, and/or blue color components.
You specify which color components are to be changed by setting
-<function>DoRed ,</function>
-<function>DoGreen ,</function>
+<function>DoRed</function>,
+<function>DoGreen</function>,
and/or
<function>DoBlue</function>
in the flags member of the
@@ -2476,8 +2476,8 @@ the changes are visible immediately.
<!-- .LP -->
<function>XStoreColor</function>
can generate
-<function>BadAccess ,</function>
-<function>BadColor ,</function>
+<function>BadAccess</function>,
+<function>BadColor</function>,
and
<function>BadValue </function>
errors.
@@ -2486,7 +2486,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To store multiple <acronym>RGB</acronym> values in multiple colormap cells, use
-<function>XStoreColors .</function>
+<function>XStoreColors</function>.
</para>
<indexterm><primary>Color</primary><secondary>storing</secondary></indexterm>
<indexterm significance="preferred"><primary>XStoreColors</primary></indexterm>
@@ -2557,8 +2557,8 @@ specified in the pixel members of the
<function>XColor</function>
structures.
You specify which color components are to be changed by setting
-<function>DoRed ,</function>
-<function>DoGreen ,</function>
+<function>DoRed</function>,
+<function>DoGreen</function>,
and/or
<function>DoBlue</function>
in the flags member of the
@@ -2582,8 +2582,8 @@ the one that gets reported is arbitrary.
<!-- .LP -->
<function>XStoreColors</function>
can generate
-<function>BadAccess ,</function>
-<function>BadColor ,</function>
+<function>BadAccess</function>,
+<function>BadColor</function>,
and
<function>BadValue </function>
errors.
@@ -2592,7 +2592,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To store a color of arbitrary format in a single colormap cell, use
-<function>XcmsStoreColor .</function>
+<function>XcmsStoreColor</function>.
</para>
<indexterm><primary>Color</primary><secondary>storing</secondary></indexterm>
<indexterm significance="preferred"><primary>XcmsStoreColor</primary></indexterm>
@@ -2653,10 +2653,10 @@ structure into <acronym>RGB</acronym> values.
It then uses this <acronym>RGB</acronym> specification in an
<function>XColor</function>
structure, whose three flags
-<function>( DoRed , </function>
-<function>DoGreen ,</function>
+(<function>DoRed</function>,
+<function>DoGreen</function>,
and
-<function>DoBlue )</function>
+<function>DoBlue</function>)
are set, in a call to
<function>XStoreColor</function>
to change the color cell specified by the pixel member of the
@@ -2684,7 +2684,7 @@ to <acronym>RGB</acronym> succeeded and the call to
<function>XStoreColor</function>
was made.
To obtain the actual color stored, use
-<function>XcmsQueryColor .</function>
+<function>XcmsQueryColor</function>.
Because of the screen's hardware limitations or gamut compression,
the color stored in the colormap may not be identical
to the color specified.
@@ -2693,8 +2693,8 @@ to the color specified.
<!-- .LP -->
<function>XcmsStoreColor</function>
can generate
-<function>BadAccess ,</function>
-<function>BadColor ,</function>
+<function>BadAccess</function>,
+<function>BadColor</function>,
and
<function>BadValue</function>
errors.
@@ -2703,7 +2703,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To store multiple colors of arbitrary format in multiple colormap cells, use
-<function>XcmsStoreColors .</function>
+<function>XcmsStoreColors</function>.
</para>
<indexterm><primary>Color</primary><secondary>storing</secondary></indexterm>
<indexterm significance="preferred"><primary>XcmsStoreColors</primary></indexterm>
@@ -2795,10 +2795,10 @@ function converts the colors specified in the array of
structures into <acronym>RGB</acronym> values and then uses these <acronym>RGB</acronym> specifications in
<function>XColor</function>
structures, whose three flags
-<function>( DoRed , </function>
-<function>DoGreen ,</function>
+(<function>DoRed</function>,
+<function>DoGreen</function>,
and
-<function>DoBlue )</function>
+<function>DoBlue</function>)
are set, in a call to
<function>XStoreColors</function>
to change the color cells specified by the pixel member of the corresponding
@@ -2828,7 +2828,7 @@ to <acronym>RGB</acronym> succeeded and the call to
<function>XStoreColors</function>
was made.
To obtain the actual colors stored, use
-<function>XcmsQueryColors .</function>
+<function>XcmsQueryColors</function>.
Because of the screen's hardware limitations or gamut compression,
the colors stored in the colormap may not be identical
to the colors specified.
@@ -2837,8 +2837,8 @@ to the colors specified.
<!-- .LP -->
<function>XcmsStoreColors</function>
can generate
-<function>BadAccess ,</function>
-<function>BadColor ,</function>
+<function>BadAccess</function>,
+<function>BadColor</function>,
and
<function>BadValue</function>
errors.
@@ -2847,7 +2847,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To store a color specified by name in a single colormap cell, use
-<function>XStoreNamedColor .</function>
+<function>XStoreNamedColor</function>.
</para>
<indexterm><primary>Color</primary><secondary>storing</secondary></indexterm>
<indexterm><primary>Color</primary><secondary>naming</secondary></indexterm>
@@ -2929,10 +2929,10 @@ The flags argument determines which of the red, green, and blue components
are set.
You can set this member to the
bitwise inclusive OR of the bits
-<function>DoRed , </function>
-<function>DoGreen , </function>
+<function>DoRed</function>,
+<function>DoGreen</function>,
and
-<function>DoBlue .</function>
+<function>DoBlue</function>.
If the color name is not in the Host Portable Character Encoding,
the result is implementation-dependent.
Use of uppercase or lowercase does not matter.
@@ -2947,9 +2947,9 @@ error results.
<!-- .LP -->
<function>XStoreNamedColor</function>
can generate
-<function>BadAccess ,</function>
-<function>BadColor ,</function>
-<function>BadName ,</function>
+<function>BadAccess</function>,
+<function>BadColor</function>,
+<function>BadName</function>,
and
<function>BadValue </function>
errors.
@@ -2978,7 +2978,7 @@ the one that gets reported is arbitrary.
<!-- .LP -->
<!-- .sp -->
To query the <acronym>RGB</acronym> value of a single colormap cell, use
-<function>XQueryColor .</function>
+<function>XQueryColor</function>.
</para>
<indexterm><primary>Color</primary><secondary>querying</secondary></indexterm>
<indexterm significance="preferred"><primary>XQueryColor</primary></indexterm>
@@ -3033,8 +3033,8 @@ The
function returns the current <acronym>RGB</acronym> value for the pixel in the
<function>XColor</function>
structure and sets the
-<function>DoRed ,</function>
-<function>DoGreen ,</function>
+<function>DoRed</function>,
+<function>DoGreen</function>,
and
<function>DoBlue</function>
flags.
@@ -3052,7 +3052,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To query the <acronym>RGB</acronym> values of multiple colormap cells, use
-<function>XQueryColors .</function>
+<function>XQueryColors</function>.
</para>
<indexterm><primary>Color</primary><secondary>querying</secondary></indexterm>
<indexterm significance="preferred"><primary>XQueryColors</primary></indexterm>
@@ -3122,8 +3122,8 @@ The
function returns the <acronym>RGB</acronym> value for each pixel in each
<function>XColor</function>
structure and sets the
-<function>DoRed ,</function>
-<function>DoGreen ,</function>
+<function>DoRed</function>,
+<function>DoGreen</function>,
and
<function>DoBlue</function>
flags in each structure.
@@ -3142,7 +3142,7 @@ errors.
<para>
<!-- .LP -->
To query the color of a single colormap cell in an arbitrary format, use
-<function>XcmsQueryColor .</function>
+<function>XcmsQueryColor</function>.
</para>
<indexterm><primary>Color</primary><secondary>querying</secondary></indexterm>
<indexterm significance="preferred"><primary>XcmsQueryColor</primary></indexterm>
@@ -3231,7 +3231,7 @@ errors.
<para>
<!-- .LP -->
To query the color of multiple colormap cells in an arbitrary format, use
-<function>XcmsQueryColors .</function>
+<function>XcmsQueryColors</function>.
</para>
<indexterm><primary>Color</primary><secondary>querying</secondary></indexterm>
<indexterm significance="preferred"><primary>XcmsQueryColors</primary></indexterm>
@@ -3388,7 +3388,7 @@ There is a default CCC associated with each screen.
<!-- .LP -->
<!-- .sp -->
To obtain the CCC associated with a colormap, use
-<function>XcmsCCCOfColormap .</function>
+<function>XcmsCCCOfColormap</function>.
</para>
<indexterm significance="preferred"><primary>XcmsCCCOfColormap</primary></indexterm>
<indexterm><primary>Colormap</primary><secondary>CCC of</secondary></indexterm>
@@ -3435,7 +3435,7 @@ function returns the CCC associated with the specified colormap.
Once obtained,
the CCC attributes can be queried or modified.
Unless the CCC associated with the specified colormap is changed with
-<function>XcmsSetCCCOfColormap ,</function>
+<function>XcmsSetCCCOfColormap</function>,
this CCC is used when the specified colormap is used as an argument
to color functions.
<!-- .sp -->
@@ -3443,7 +3443,7 @@ to color functions.
<para>
<!-- .LP -->
To change the CCC associated with a colormap, use
-<function>XcmsSetCCCOfColormap .</function>
+<function>XcmsSetCCCOfColormap</function>.
</para>
<indexterm significance="preferred"><primary>XcmsSetCCCOfColormap</primary></indexterm>
<indexterm><primary>Colormap</primary><secondary>CCC of</secondary></indexterm>
@@ -3501,7 +3501,7 @@ function changes the CCC associated with the specified colormap.
It returns the CCC previously associated with the colormap.
If they are not used again in the application,
CCCs should be freed by calling
-<function>XcmsFreeCCC .</function>
+<function>XcmsFreeCCC</function>.
Several colormaps may share the same CCC without restriction; this
includes the CCCs generated by Xlib with each colormap. Xlib, however,
creates a new CCC with each new colormap.
@@ -3524,7 +3524,7 @@ A default CCC is associated with each screen.
<para>
<!-- .LP -->
To obtain the default CCC for a screen, use
-<function>XcmsDefaultCCC .</function>
+<function>XcmsDefaultCCC</function>.
</para>
<indexterm significance="preferred"><primary>XcmsDefaultCCC</primary></indexterm>
<indexterm><primary>Color Conversion Context</primary><secondary>default</secondary></indexterm>
@@ -3581,7 +3581,7 @@ specific.
<para>
<!-- .LP -->
Applications should not directly modify any part of the
-<function>XcmsCCC .</function>
+<function>XcmsCCC</function>.
The following lists the C language macros, their corresponding function
equivalents for other language bindings, and what data they both
can return.
@@ -3781,7 +3781,7 @@ Both return the Client White Point of the specified CCC.
<para>
<!-- .LP -->
To set the Client White Point in the CCC, use
-<function>XcmsSetWhitePoint .</function>
+<function>XcmsSetWhitePoint</function>.
</para>
<indexterm significance="preferred"><primary>XcmsSetWhitePoint</primary></indexterm>
<indexterm><primary>Client White Point</primary><secondary>of Color Conversion Context</secondary></indexterm>
@@ -3827,14 +3827,14 @@ function changes the Client White Point in the specified CCC.
Note that the pixel member is ignored
and that the color specification is left unchanged upon return.
The format for the new white point must be
-<function>XcmsCIEXYZFormat ,</function>
-<function>XcmsCIEuvYFormat ,</function>
-<function>XcmsCIExyYFormat ,</function>
+<function>XcmsCIEXYZFormat</function>,
+<function>XcmsCIEuvYFormat</function>,
+<function>XcmsCIExyYFormat</function>,
or
-<function>XcmsUndefinedFormat .</function>
+<function>XcmsUndefinedFormat</function>.
If the color argument is NULL, this function sets the format component of the
Client White Point specification to
-<function>XcmsUndefinedFormat ,</function>
+<function>XcmsUndefinedFormat</function>,
indicating that the Client White Point is assumed to be the same as the
Screen White Point.
</para>
@@ -3850,7 +3850,7 @@ otherwise, it returns zero.
<!-- .LP -->
To set the gamut compression procedure and corresponding client data
in a specified CCC, use
-<function>XcmsSetCompressionProc .</function>
+<function>XcmsSetCompressionProc</function>.
</para>
<indexterm significance="preferred"><primary>XcmsSetCompressionProc</primary></indexterm>
<indexterm><primary>Gamut compression</primary><secondary>setting in Color Conversion Context</secondary></indexterm>
@@ -3889,7 +3889,7 @@ If NULL is specified and a function using this CCC must convert
a color specification to a device-dependent format and encounters a color
that lies outside the screen's color gamut,
that function will return
-<function>XcmsFailure .</function>
+<function>XcmsFailure</function>.
<!-- .ds Cd the gamut compression procedure -->
</para>
</listitem>
@@ -3920,7 +3920,7 @@ and then returns the old procedure.
<!-- .LP -->
To set the white point adjustment procedure and corresponding client data
in a specified CCC, use
-<function>XcmsSetWhiteAdjustProc .</function>
+<function>XcmsSetWhiteAdjustProc</function>.
</para>
<indexterm significance="preferred"><primary>XcmsSetWhiteAdjustProc</primary></indexterm>
<indexterm><primary>White point adjustment</primary><secondary>setting in Color Conversion Context</secondary></indexterm>
@@ -3987,17 +3987,17 @@ and then returns the old procedure.
<para>
<!-- .LP -->
You can explicitly create a CCC within your application by calling
-<function>XcmsCreateCCC .</function>
+<function>XcmsCreateCCC</function>.
These created CCCs can then be used by those functions that explicitly
call for a CCC argument.
Old CCCs that will not be used by the application should be freed using
-<function>XcmsFreeCCC .</function>
+<function>XcmsFreeCCC</function>.
<!-- .sp -->
</para>
<para>
<!-- .LP -->
To create a CCC, use
-<function>XcmsCreateCCC .</function>
+<function>XcmsCreateCCC</function>.
</para>
<indexterm significance="preferred"><primary>XcmsCreateCCC</primary></indexterm>
<indexterm><primary>Color Conversion Context</primary><secondary>creation</secondary></indexterm>
@@ -4074,7 +4074,7 @@ If NULL is specified and a function using this CCC must convert
a color specification to a device-dependent format and encounters a color
that lies outside the screen's color gamut,
that function will return
-<function>XcmsFailure .</function>
+<function>XcmsFailure</function>.
</para>
</listitem>
</varlistentry>
@@ -4124,7 +4124,7 @@ function creates a CCC for the specified display, screen, and visual.
<!-- .LP -->
<!-- .sp -->
To free a CCC, use
-<function>XcmsFreeCCC .</function>
+<function>XcmsFreeCCC</function>.
</para>
<indexterm significance="preferred"><primary>XcmsFreeCCC</primary></indexterm>
<indexterm><primary>Color Conversion Context</primary><secondary>freeing</secondary></indexterm>
@@ -4171,7 +4171,7 @@ are ignored.
<!-- .sp -->
To convert an array of color specifications in arbitrary color formats
to a single destination format, use
-<function>XcmsConvertColors .</function>
+<function>XcmsConvertColors</function>.
</para>
<indexterm><primary>Color conversion</primary></indexterm>
<indexterm><primary>Color</primary><secondary>conversion</secondary></indexterm>
@@ -4264,7 +4264,7 @@ function converts the color specifications in the specified array of
structures from their current format to a single target format,
using the specified CCC.
When the return value is
-<function>XcmsFailure ,</function>
+<function>XcmsFailure</function>,
the contents of the color specification array are left unchanged.
</para>
<para>
@@ -4274,8 +4274,8 @@ The array may contain a mixture of color specification formats
When the array contains both device-independent and
device-dependent color specifications and the target_format argument specifies
a device-dependent format (for example,
-<function>XcmsRGBiFormat ,</function>
-<function>XcmsRGBFormat ),</function>
+<function>XcmsRGBiFormat</function>,
+<function>XcmsRGBFormat</function>),
all specifications are converted to <acronym>CIE</acronym> XYZ format and then to the target
device-dependent format.
</para>
@@ -4296,7 +4296,7 @@ The gamut compression procedure specified in the CCC
is called when an attempt to convert a color specification from
<function>XcmsCIEXYZ</function>
to a device-dependent format (typically
-<function>XcmsRGBi )</function>
+<function>XcmsRGBi</function>)
results in a color that lies outside the screen's color gamut.
If the gamut compression procedure requires client data, this data is passed
via the gamut compression client data in the CCC.
@@ -4323,7 +4323,7 @@ following:
<!-- .sM -->
<funcsynopsis>
<funcprototype>
- <funcdef>typedef Status<function>(*XcmsCompressionProc)</function></funcdef>
+ <funcdef>typedef Status<function>(*XcmsCompressionProc</function>)</funcdef>
<paramdef>XcmsCCC<parameter> ccc</parameter></paramdef>
<paramdef>XcmsColor<parameter> colors_in_out[]</parameter></paramdef>
<paramdef>unsignedint<parameter> ncolors</parameter></paramdef>
@@ -4416,7 +4416,7 @@ When called, elements 0 to index - 1 in the color specification
array can be assumed to fall within the screen's color gamut.
In addition, these color specifications are already in some device-dependent
format (typically
-<function>XcmsRGBi ).</function>
+<function>XcmsRGBi</function>).
If any modifications are made to these color specifications,
they must be in their initial device-dependent format upon return.
</para>
@@ -4427,9 +4427,9 @@ When called, the element in the color specification array specified
by the index argument contains the color specification outside the
screen's color gamut encountered by the calling routine.
In addition, this color specification can be assumed to be in
-<function>XcmsCIEXYZ .</function>
+<function>XcmsCIEXYZ</function>.
Upon return, this color specification must be in
-<function>XcmsCIEXYZ .</function>
+<function>XcmsCIEXYZ</function>.
</para>
</listitem>
<listitem>
@@ -4438,7 +4438,7 @@ When called, elements from index to ncolors - 1
in the color specification array may or may not fall within the
screen's color gamut.
In addition, these color specifications can be assumed to be in
-<function>XcmsCIEXYZ .</function>
+<function>XcmsCIEXYZ</function>.
If any modifications are made to these color specifications,
they must be in
<function>XcmsCIEXYZ</function>
@@ -4509,7 +4509,7 @@ then while maintaining the same Psychometric Hue Angle,
the color will be clipped to the <acronym>CIE</acronym> L*a*b* coordinates of maximum
Psychometric Chroma.
See
-<function>XcmsCIELabQueryMaxC .</function>
+<function>XcmsCIELabQueryMaxC</function>.
No client data is necessary.
</para>
</listitem>
@@ -4558,7 +4558,7 @@ then, while maintaining the same Psychometric Hue Angle,
the color will be clipped to the <acronym>CIE</acronym> L*u*v* coordinates of maximum
Psychometric Chroma.
See
-<function>XcmsCIELuvQueryMaxC .</function>
+<function>XcmsCIELuvQueryMaxC</function>.
No client data is necessary.
</para>
</listitem>
@@ -4650,7 +4650,7 @@ The white point adjustment procedure interface must adhere to the following:
<!-- .sM -->
<funcsynopsis>
<funcprototype>
- <funcdef>typedef Status <function>(*XcmsWhiteAdjustProc)</function></funcdef>
+ <funcdef>typedef Status <function>(*XcmsWhiteAdjustProc</function>)</funcdef>
<paramdef>XcmsCCC<parameter> ccc</parameter></paramdef>
<paramdef>XcmsColor<parameter> *initial_white_point</parameter></paramdef>
<paramdef>XcmsColor<parameter> *target_white_point</parameter></paramdef>
@@ -4860,9 +4860,9 @@ A second time to convert from
For example, assume the specification is in
<function>XcmsCIEuvY</function>
and the adjustment procedure is
-<function>XcmsCIELuvWhiteShiftColors .</function>
+<function>XcmsCIELuvWhiteShiftColors</function>.
During conversion to
-<function>XcmsRGB ,</function>
+<function>XcmsRGB</function>,
the call to
<function>XcmsAllocColor </function>
results in the following series of color specification conversions:
@@ -4916,7 +4916,7 @@ to
<para>
<!-- .LP -->
The resulting <acronym>RGB</acronym> specification is passed to
-<function>XAllocColor ,</function>
+<function>XAllocColor</function>,
and the <acronym>RGB</acronym>
specification returned by
<function>XAllocColor</function>
@@ -5007,7 +5007,7 @@ is given a fixed Hue and Value for which maximum Chroma is found.
<!-- .LP -->
To obtain the color specification for black
(zero-intensity red, green, and blue), use
-<function>XcmsQueryBlack .</function>
+<function>XcmsQueryBlack</function>.
</para>
<indexterm significance="preferred"><primary>XcmsQueryBlack</primary></indexterm>
<!-- .sM -->
@@ -5073,7 +5073,7 @@ for zero-intensity red, green, and blue.
<!-- .LP -->
To obtain the color specification for blue
(full-intensity blue while red and green are zero), use
-<function>XcmsQueryBlue .</function>
+<function>XcmsQueryBlue</function>.
</para>
<indexterm significance="preferred"><primary>XcmsQueryBlue</primary></indexterm>
<!-- .sM -->
@@ -5139,7 +5139,7 @@ for full-intensity blue while red and green are zero.
<!-- .LP -->
To obtain the color specification for green
(full-intensity green while red and blue are zero), use
-<function>XcmsQueryGreen .</function>
+<function>XcmsQueryGreen</function>.
</para>
<indexterm significance="preferred"><primary>XcmsQueryGreen</primary></indexterm>
<!-- .sM -->
@@ -5205,7 +5205,7 @@ for full-intensity green while red and blue are zero.
<!-- .LP -->
To obtain the color specification for red
(full-intensity red while green and blue are zero), use
-<function>XcmsQueryRed .</function>
+<function>XcmsQueryRed</function>.
</para>
<indexterm significance="preferred"><primary>XcmsQueryRed</primary></indexterm>
<!-- .sM -->
@@ -5271,7 +5271,7 @@ for full-intensity red while green and blue are zero.
<!-- .sp -->
To obtain the color specification for white
(full-intensity red, green, and blue), use
-<function>XcmsQueryWhite .</function>
+<function>XcmsQueryWhite</function>.
</para>
<indexterm significance="preferred"><primary>XcmsQueryWhite</primary></indexterm>
<!-- .sM -->
@@ -5359,7 +5359,7 @@ delim %%
<!-- .sp -->
To obtain the <acronym>CIE</acronym> L*a*b* coordinates of maximum Psychometric Chroma
for a given Psychometric Hue Angle and <acronym>CIE</acronym> metric lightness (L*), use
-<function>XcmsCIELabQueryMaxC .</function>
+<function>XcmsCIELabQueryMaxC</function>.
</para>
<indexterm significance="preferred"><primary>XcmsCIELabQueryMaxC</primary></indexterm>
<!-- .sM -->
@@ -5440,7 +5440,7 @@ It returns this point in <acronym>CIE</acronym> L*a*b* coordinates.
<!-- .sp -->
To obtain the <acronym>CIE</acronym> L*a*b* coordinates of maximum <acronym>CIE</acronym> metric lightness (L*)
for a given Psychometric Hue Angle and Psychometric Chroma, use
-<function>XcmsCIELabQueryMaxL .</function>
+<function>XcmsCIELabQueryMaxL</function>.
</para>
<indexterm><primary>Psychometric Hue Angle</primary></indexterm>
<indexterm><primary><acronym>CIE</acronym> metric lightness</primary></indexterm>
@@ -5529,7 +5529,7 @@ is beyond maximum for the given hue angle.
<!-- .LP -->
To obtain the <acronym>CIE</acronym> L*a*b* coordinates of maximum Psychometric Chroma
for a given Psychometric Hue Angle, use
-<function>XcmsCIELabQueryMaxLC .</function>
+<function>XcmsCIELabQueryMaxLC</function>.
</para>
<indexterm><primary>Psychometric Hue Angle</primary></indexterm>
<indexterm><primary>Psychometric Chroma</primary></indexterm>
@@ -5603,7 +5603,7 @@ It returns this point in <acronym>CIE</acronym> L*a*b* coordinates.
<!-- .LP -->
To obtain the <acronym>CIE</acronym> L*a*b* coordinates of minimum <acronym>CIE</acronym> metric lightness (L*)
for a given Psychometric Hue Angle and Psychometric Chroma, use
-<function>XcmsCIELabQueryMinL .</function>
+<function>XcmsCIELabQueryMinL</function>.
</para>
<indexterm><primary>Psychometric Hue Angle</primary></indexterm>
<indexterm><primary><acronym>CIE</acronym> metric lightness</primary></indexterm>
@@ -5716,7 +5716,7 @@ delim %%
<!-- .LP -->
To obtain the <acronym>CIE</acronym> L*u*v* coordinates of maximum Psychometric Chroma
for a given Psychometric Hue Angle and <acronym>CIE</acronym> metric lightness (L*), use
-<function>XcmsCIELuvQueryMaxC .</function>
+<function>XcmsCIELuvQueryMaxC</function>.
</para>
<indexterm significance="preferred"><primary>XcmsCIELuvQueryMaxC</primary></indexterm>
<!-- .sM -->
@@ -5797,7 +5797,7 @@ It returns this point in <acronym>CIE</acronym> L*u*v* coordinates.
<!-- .LP -->
To obtain the <acronym>CIE</acronym> L*u*v* coordinates of maximum <acronym>CIE</acronym> metric lightness (L*)
for a given Psychometric Hue Angle and Psychometric Chroma, use
-<function>XcmsCIELuvQueryMaxL .</function>
+<function>XcmsCIELuvQueryMaxL</function>.
</para>
<indexterm><primary>Psychometric Hue Angle</primary></indexterm>
<indexterm><primary><acronym>CIE</acronym> metric lightness</primary></indexterm>
@@ -5886,7 +5886,7 @@ is beyond maximum for the given hue angle.
<!-- .LP -->
To obtain the <acronym>CIE</acronym> L*u*v* coordinates of maximum Psychometric Chroma
for a given Psychometric Hue Angle, use
-<function>XcmsCIELuvQueryMaxLC .</function>
+<function>XcmsCIELuvQueryMaxLC</function>.
</para>
<indexterm><primary>Psychometric Hue Angle</primary></indexterm>
<indexterm><primary>Psychometric Chroma</primary></indexterm>
@@ -5960,7 +5960,7 @@ It returns this point in <acronym>CIE</acronym> L*u*v* coordinates.
<!-- .LP -->
To obtain the <acronym>CIE</acronym> L*u*v* coordinates of minimum <acronym>CIE</acronym> metric lightness (L*)
for a given Psychometric Hue Angle and Psychometric Chroma, use
-<function>XcmsCIELuvQueryMinL .</function>
+<function>XcmsCIELuvQueryMinL</function>.
</para>
<indexterm><primary>Psychometric Hue Angle</primary></indexterm>
<indexterm><primary><acronym>CIE</acronym> metric lightness</primary></indexterm>
@@ -6052,7 +6052,7 @@ is beyond maximum for the given hue angle.
<para>
<!-- .LP -->
To obtain the maximum Chroma for a given Hue and Value, use
-<function>XcmsTekHVCQueryMaxC .</function>
+<function>XcmsTekHVCQueryMaxC</function>.
</para>
<indexterm><primary>Chroma</primary></indexterm>
<indexterm><primary>Chroma</primary><secondary>maximum</secondary></indexterm>
@@ -6135,7 +6135,7 @@ and Value at which the maximum Chroma was found.
<para>
<!-- .LP -->
To obtain the maximum Value for a given Hue and Chroma, use
-<function>XcmsTekHVCQueryMaxV .</function>
+<function>XcmsTekHVCQueryMaxV</function>.
</para>
<indexterm><primary>Value</primary></indexterm>
<indexterm><primary>Value</primary><secondary>maximum</secondary></indexterm>
@@ -6220,7 +6220,7 @@ at which the maximum Value was found.
<!-- .LP -->
To obtain the maximum Chroma and Value at which it is reached
for a specified Hue, use
-<function>XcmsTekHVCQueryMaxVC .</function>
+<function>XcmsTekHVCQueryMaxVC</function>.
</para>
<indexterm><primary>Chroma</primary></indexterm>
<indexterm><primary>Value</primary></indexterm>
@@ -6298,7 +6298,7 @@ and the actual Hue for which the maximum Chroma was found.
To obtain a specified number of TekHVC specifications such that they
contain maximum Values for a specified Hue and the
Chroma at which the maximum Values are reached, use
-<function>XcmsTekHVCQueryMaxVSamples .</function>
+<function>XcmsTekHVCQueryMaxVSamples</function>.
</para>
<indexterm><primary>Chroma</primary></indexterm>
<indexterm><primary>Value</primary></indexterm>
@@ -6381,7 +6381,7 @@ space.
<para>
<!-- .LP -->
To obtain the minimum Value for a given Hue and Chroma, use
-<function>XcmsTekHVCQueryMinV .</function>
+<function>XcmsTekHVCQueryMinV</function>.
</para>
<indexterm><primary>Value</primary></indexterm>
<indexterm><primary>Value</primary><secondary>minimum</secondary></indexterm>
@@ -6541,7 +6541,7 @@ thus bypassing conversion between <acronym>CIE</acronym> u*v*Y and <acronym>CIE<
<para>
<!-- .LP -->
To add a device-independent color space, use
-<function>XcmsAddColorSpace .</function>
+<function>XcmsAddColorSpace</function>.
</para>
<indexterm significance="preferred"><primary>XcmsAddColorSpace</primary></indexterm>
<!-- .sM -->
@@ -6582,7 +6582,7 @@ then reference should be made by color space prefix
(see
<function>XcmsFormatOfPrefix</function>
and
-<function>XcmsPrefixOfFormat ).</function>
+<function>XcmsPrefixOfFormat</function>).
</para>
<para>
<!-- .LP -->
@@ -6591,7 +6591,7 @@ If the
structure is already accessible in the color management system,
<function>XcmsAddColorSpace</function>
returns
-<function>XcmsSuccess .</function>
+<function>XcmsSuccess</function>.
</para>
<para>
<!-- .LP -->
@@ -6609,7 +6609,7 @@ must be retained for reference by Xlib.
<!-- .LP -->
To obtain the format associated with the color space
associated with a specified color string prefix, use
-<function>XcmsFormatOfPrefix .</function>
+<function>XcmsFormatOfPrefix</function>.
</para>
<indexterm significance="preferred"><primary>XcmsFormatOfPrefix</primary></indexterm>
<!-- .sM -->
@@ -6644,14 +6644,14 @@ The prefix is case-insensitive.
If the color space is not accessible in the color management system,
<function>XcmsFormatOfPrefix</function>
returns
-<function>XcmsUndefinedFormat .</function>
+<function>XcmsUndefinedFormat</function>.
</para>
<para>
<!-- .LP -->
<!-- .sp -->
To obtain the color string prefix associated with the color space
specified by a color format, use
-<function>XcmsPrefixOfFormat .</function>
+<function>XcmsPrefixOfFormat</function>.
</para>
<indexterm significance="preferred"><primary>XcmsPrefixOfFormat</primary></indexterm>
<!-- .sM -->
@@ -6718,7 +6718,7 @@ unregistered color space), then reference should be made by color space prefix
(see
<function>XcmsFormatOfPrefix</function>
and
-<function>XcmsPrefixOfFormat ).</function>
+<function>XcmsPrefixOfFormat</function>).
<!-- .sM -->
</para>
<para>
@@ -7117,7 +7117,7 @@ its corresponding data may be stored on different root window properties.
<para>
<!-- .LP -->
To add a function set, use
-<function>XcmsAddFunctionSet .</function>
+<function>XcmsAddFunctionSet</function>.
</para>
<indexterm significance="preferred"><primary>XcmsAddFunctionSet</primary></indexterm>
<!-- .sM -->
@@ -7165,7 +7165,7 @@ then reference should be made by color space prefix
(see
<function>XcmsFormatOfPrefix</function>
and
-<function>XcmsPrefixOfFormat ).</function>
+<function>XcmsPrefixOfFormat</function>).
</para>
<para>
<!-- .LP -->
@@ -7198,7 +7198,7 @@ This data is stored in an
structure.
A handle to this structure (that is, by means of global variable)
is usually made accessible to the client program for use with
-<function>XcmsAddFunctionSet .</function>
+<function>XcmsAddFunctionSet</function>.
</para>
<para>
<!-- .LP -->
@@ -7253,7 +7253,7 @@ interface specification:
</para>
<funcsynopsis>
<funcprototype>
- <funcdef>typedef Status <function>(*XcmsScreenInitProc)</function></funcdef>
+ <funcdef>typedef Status <function>(*XcmsScreenInitProc</function>)</funcdef>
<paramdef>Display<parameter> *display</parameter></paramdef>
<paramdef>int<parameter> screen_number</parameter></paramdef>
<paramdef>ScmsPerScrnInfo<parameter> *screen_info</parameter></paramdef>
@@ -7339,7 +7339,7 @@ structure.
It then sets the state member to
<function>XcmsInitSuccess </function>
and finally returns
-<function>XcmsSuccess .</function>
+<function>XcmsSuccess</function>.
</para>
</listitem>
</itemizedlist>
@@ -7348,7 +7348,7 @@ and finally returns
If unsuccessful, the procedure sets the state member to
<function>XcmsInitFailure</function>
and returns
-<function>XcmsFailure .</function>
+<function>XcmsFailure</function>.
</para>
<para>
<!-- .LP -->
diff --git a/specs/libX11/CH07.xml b/specs/libX11/CH07.xml
index 73232d7..308487b 100644
--- a/specs/libX11/CH07.xml
+++ b/specs/libX11/CH07.xml
@@ -60,7 +60,7 @@ To set an attribute of a GC,
set the appropriate member of the
<function>XGCValues</function>
structure and OR in the corresponding value bitmask in your subsequent calls to
-<function>XCreateGC .</function>
+<function>XCreateGC</function>.
The symbols for the value mask bits and the
<function>XGCValues</function>
structure are:
@@ -523,7 +523,7 @@ all internal ends of the individual dashes,
except
<function>CapNotLast</function>
is treated as
-<function>CapButt . </function>
+<function>CapButt</function>.
</para>
</listitem>
</varlistentry>
@@ -647,13 +647,13 @@ the semantics depends on the line-width and the cap-style:
<entry><function>CapRound</function></entry>
<entry>thin</entry>
<entry>The results are the same as for
- <function>CapButt /thin.</function></entry>
+ <function>CapButt /thin</function>.</entry>
</row>
<row>
<entry><function>CapProjecting</function></entry>
<entry>thin</entry>
<entry>The results are the same as for
- <function>CapButt /thin.</function></entry>
+ <function>CapButt /thin</function>.</entry>
</row>
<row>
<entry><function>CapButt</function></entry>
@@ -707,7 +707,7 @@ error results.
For stipple operations where the fill-style is
<function>FillStippled</function>
but not
-<function>FillOpaqueStippled ,</function>
+<function>FillOpaqueStippled</function>,
the stipple pattern is tiled in a
single plane and acts as an additional clip mask to be ANDed with the clip-mask.
Although some sizes may be faster to use than others,
@@ -719,24 +719,24 @@ any size pixmap can be used for tiling or stippling.
The fill-style defines the contents of the source for line, text, and
fill requests.
For all text and fill requests (for example,
-<function>XDrawText , </function>
-<function>XDrawText16 ,</function>
-<function>XFillRectangle , </function>
-<function>XFillPolygon , </function>
+<function>XDrawText</function>,
+<function>XDrawText16</function>,
+<function>XFillRectangle</function>,
+<function>XFillPolygon</function>,
and
-<function>XFillArc );</function>
+<function>XFillArc</function>);
for line requests
with line-style
<function>LineSolid </function>
(for example,
-<function>XDrawLine ,</function>
-<function>XDrawSegments , </function>
-<function>XDrawRectangle ,</function>
-<function>XDrawArc );</function>
+<function>XDrawLine</function>,
+<function>XDrawSegments</function>,
+<function>XDrawRectangle</function>,
+<function>XDrawArc</function>);
and for the even dashes for line requests with line-style
<function>LineOnOffDash </function>
or
-<function>LineDoubleDash ,</function>
+<function>LineDoubleDash</function>,
the following apply:
</para>
@@ -770,7 +770,7 @@ the following apply:
<para>
<!-- .LP -->
When drawing lines with line-style
-<function>LineDoubleDash ,</function>
+<function>LineDoubleDash</function>,
the odd dashes are controlled by the fill-style in the following manner:
</para>
@@ -824,10 +824,10 @@ of GCs.
<!-- .LP -->
The dashes value is actually a simplified form of the
more general patterns that can be set with
-<function>XSetDashes . </function>
+<function>XSetDashes</function>.
Specifying a
value of N is equivalent to specifying the two-element list [N, N] in
-<function>XSetDashes . </function>
+<function>XSetDashes</function>.
The value must be nonzero,
or a
<function>BadValue</function>
@@ -842,7 +842,7 @@ or a
<function>BadMatch </function>
error results.
If clip-mask is set to
-<function>None ,</function>
+<function>None</function>,
the pixels are always drawn regardless of the clip origin.
The clip-mask also can be set by calling the
<function>XSetClipRectangles</function>
@@ -862,15 +862,15 @@ destination drawable is specified in a graphics request.
You can set the subwindow-mode to
<function>ClipByChildren</function>
or
-<function>IncludeInferiors .</function>
+<function>IncludeInferiors</function>.
For
-<function>ClipByChildren , </function>
+<function>ClipByChildren</function>,
both source and destination windows are
additionally clipped by all viewable
<function>InputOutput</function>
children.
For
-<function>IncludeInferiors ,</function>
+<function>IncludeInferiors</function>,
neither source nor destination window is clipped by inferiors.
This will result in including subwindow contents in the source
and drawing through subwindow boundaries of the destination.
@@ -888,14 +888,14 @@ paths given in
requests and can be set to
<function>EvenOddRule </function>
or
-<function>WindingRule .</function>
+<function>WindingRule</function>.
For
-<function>EvenOddRule ,</function>
+<function>EvenOddRule</function>,
a point is inside if
an infinite ray with the point as origin crosses the path an odd number
of times.
For
-<function>WindingRule , </function>
+<function>WindingRule</function>,
a point is inside if an infinite ray with the
point as origin crosses an unequal number of clockwise and
counterclockwise directed path segments.
@@ -912,7 +912,7 @@ coincident with a segment.
For both
<function>EvenOddRule</function>
and
-<function>WindingRule ,</function>
+<function>WindingRule</function>,
a point is infinitely small,
and the path is an infinitely thin line.
A pixel is inside if the center point of the pixel is inside
@@ -931,12 +931,12 @@ The arc-mode controls filling in the
function and can be set to
<function>ArcPieSlice</function>
or
-<function>ArcChord .</function>
+<function>ArcChord</function>.
For
-<function>ArcPieSlice ,</function>
+<function>ArcPieSlice</function>,
the arcs are pie-slice filled.
For
-<function>ArcChord ,</function>
+<function>ArcChord</function>,
the arcs are chord filled.
</para>
<para>
@@ -955,7 +955,7 @@ requests (and any similar requests defined by extensions).
<!-- .sp -->
To create a new GC that is usable on a given screen with a
depth of drawable, use
-<function>XCreateGC .</function>
+<function>XCreateGC</function>.
<indexterm><primary>Graphics context</primary><secondary>initializing</secondary></indexterm>
<indexterm significance="preferred"><primary>XCreateGC</primary></indexterm>
<!-- .sM -->
@@ -1031,11 +1031,11 @@ error.
<!-- .LP -->
<function>XCreateGC</function>
can generate
-<function>BadAlloc ,</function>
-<function>BadDrawable ,</function>
-<function>BadFont ,</function>
-<function>BadMatch ,</function>
-<function>BadPixmap ,</function>
+<function>BadAlloc</function>,
+<function>BadDrawable</function>,
+<function>BadFont</function>,
+<function>BadMatch</function>,
+<function>BadPixmap</function>,
and
<function>BadValue </function>
errors.
@@ -1044,7 +1044,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To copy components from a source GC to a destination GC, use
-<function>XCopyGC .</function>
+<function>XCopyGC</function>.
<indexterm significance="preferred"><primary>XCopyGC</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1114,14 +1114,14 @@ or a
<function>BadMatch</function>
error results.
The valuemask specifies which component to copy, as for
-<function>XCreateGC .</function>
+<function>XCreateGC</function>.
</para>
<para>
<!-- .LP -->
<function>XCopyGC</function>
can generate
-<function>BadAlloc , </function>
-<function>BadGC ,</function>
+<function>BadAlloc</function>,
+<function>BadGC</function>,
and
<function>BadMatch</function>
errors.
@@ -1130,7 +1130,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To change the components in a given GC, use
-<function>XChangeGC .</function>
+<function>XChangeGC</function>.
<indexterm significance="preferred"><primary>XChangeGC</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1198,7 +1198,7 @@ function changes the components specified by valuemask for
the specified GC.
The values argument contains the values to be set.
The values and restrictions are the same as for
-<function>XCreateGC .</function>
+<function>XCreateGC</function>.
Changing the clip-mask overrides any previous
<function>XSetClipRectangles</function>
request on the context.
@@ -1213,11 +1213,11 @@ If an error is generated, a subset of the components may have been altered.
<!-- .LP -->
<function>XChangeGC</function>
can generate
-<function>BadAlloc ,</function>
-<function>BadFont ,</function>
-<function>BadGC ,</function>
-<function>BadMatch ,</function>
-<function>BadPixmap ,</function>
+<function>BadAlloc</function>,
+<function>BadFont</function>,
+<function>BadGC</function>,
+<function>BadMatch</function>,
+<function>BadPixmap</function>,
and
<function>BadValue</function>
errors.
@@ -1226,7 +1226,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To obtain components of a given GC, use
-<function>XGetGCValues .</function>
+<function>XGetGCValues</function>.
<indexterm significance="preferred"><primary>XGetGCValues</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1294,28 +1294,28 @@ The
<function>XGetGCValues</function>
function returns the components specified by valuemask for the specified GC.
If the valuemask contains a valid set of GC mask bits
-<function>( GCFunction ,</function>
-<function>GCPlaneMask ,</function>
-<function>GCForeground ,</function>
-<function>GCBackground ,</function>
-<function>GCLineWidth ,</function>
-<function>GCLineStyle ,</function>
-<function>GCCapStyle ,</function>
-<function>GCJoinStyle ,</function>
-<function>GCFillStyle ,</function>
-<function>GCFillRule ,</function>
-<function>GCTile ,</function>
-<function>GCStipple ,</function>
-<function>GCTileStipXOrigin ,</function>
-<function>GCTileStipYOrigin ,</function>
-<function>GCFont ,</function>
-<function>GCSubwindowMode ,</function>
-<function>GCGraphicsExposures ,</function>
-<function>GCClipXOrigin ,</function>
-<function>GCCLipYOrigin ,</function>
-<function>GCDashOffset ,</function>
+(<function>GCFunction</function>,
+<function>GCPlaneMask</function>,
+<function>GCForeground</function>,
+<function>GCBackground</function>,
+<function>GCLineWidth</function>,
+<function>GCLineStyle</function>,
+<function>GCCapStyle</function>,
+<function>GCJoinStyle</function>,
+<function>GCFillStyle</function>,
+<function>GCFillRule</function>,
+<function>GCTile</function>,
+<function>GCStipple</function>,
+<function>GCTileStipXOrigin</function>,
+<function>GCTileStipYOrigin</function>,
+<function>GCFont</function>,
+<function>GCSubwindowMode</function>,
+<function>GCGraphicsExposures</function>,
+<function>GCClipXOrigin</function>,
+<function>GCCLipYOrigin</function>,
+<function>GCDashOffset</function>,
or
-<function>GCArcMode )</function>
+<function>GCArcMode</function>)
and no error occurs,
<function>XGetGCValues</function>
sets the requested components in values_return and returns a nonzero status.
@@ -1328,8 +1328,8 @@ bits, respectively, in the valuemask)
cannot be requested.
Also note that an invalid resource ID (with one or more of the three
most significant bits set to 1) will be returned for
-<function>GCFont ,</function>
-<function>GCTile ,</function>
+<function>GCFont</function>,
+<function>GCTile</function>,
and
<function>GCStipple</function>
if the component has never been explicitly set by the client.
@@ -1338,7 +1338,7 @@ if the component has never been explicitly set by the client.
<!-- .LP -->
<!-- .sp -->
To free a given GC, use
-<function>XFreeGC .</function>
+<function>XFreeGC</function>.
<indexterm significance="preferred"><primary>XFreeGC</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1392,7 +1392,7 @@ error.
To obtain the
<function>GContext </function>
resource ID for a given GC, use
-<function>XGContextFromGC .</function>
+<function>XGContextFromGC</function>.
<indexterm significance="preferred"><primary>XGContextFromGC</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1428,7 +1428,7 @@ to explicitly force sending the changes to the server.
An example might be when a protocol extension uses the GC indirectly,
in such a way that the extension interface cannot know what GC will be used.
To force sending GC component changes, use
-<function>XFlushGC .</function>
+<function>XFlushGC</function>.
<indexterm significance="preferred"><primary>XFlushGC</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1522,7 +1522,7 @@ Arc mode, subwindow mode, and graphics exposure components
<!-- .LP -->
To set the foreground, background, plane mask, and function components
for a given GC, use
-<function>XSetState .</function>
+<function>XSetState</function>.
<indexterm significance="preferred"><primary>XSetState</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1605,8 +1605,8 @@ Specifies the plane mask.
<!-- .eM -->
<function>XSetState</function>
can generate
-<function>BadAlloc ,</function>
-<function>BadGC ,</function>
+<function>BadAlloc</function>,
+<function>BadGC</function>,
and
<function>BadValue </function>
errors.
@@ -1615,7 +1615,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To set the foreground of a given GC, use
-<function>XSetForeground .</function>
+<function>XSetForeground</function>.
<indexterm significance="preferred"><primary>XSetForeground</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1674,7 +1674,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To set the background of a given GC, use
-<function>XSetBackground .</function>
+<function>XSetBackground</function>.
<indexterm significance="preferred"><primary>XSetBackground</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1733,7 +1733,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To set the display function in a given GC, use
-<function>XSetFunction .</function>
+<function>XSetFunction</function>.
<indexterm significance="preferred"><primary>XSetFunction</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1783,8 +1783,8 @@ Specifies the function you want to set for the specified GC.
<!-- .eM -->
<function>XSetFunction</function>
can generate
-<function>BadAlloc ,</function>
-<function>BadGC ,</function>
+<function>BadAlloc</function>,
+<function>BadGC</function>,
and
<function>BadValue </function>
errors.
@@ -1793,7 +1793,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To set the plane mask of a given GC, use
-<function>XSetPlaneMask .</function>
+<function>XSetPlaneMask</function>.
<indexterm significance="preferred"><primary>XSetPlaneMask</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1858,7 +1858,7 @@ errors.
<para>
<!-- .LP -->
To set the line drawing components of a given GC, use
-<function>XSetLineAttributes .</function>
+<function>XSetLineAttributes</function>.
<indexterm significance="preferred"><primary>XSetLineAttributes</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1912,10 +1912,10 @@ Specifies the line-width you want to set for the specified GC.
<para>
Specifies the line-style you want to set for the specified GC.
You can pass
-<function>LineSolid ,</function>
-<function>LineOnOffDash ,</function>
+<function>LineSolid</function>,
+<function>LineOnOffDash</function>,
or
-<function>LineDoubleDash .</function>
+<function>LineDoubleDash</function>.
</para>
</listitem>
</varlistentry>
@@ -1927,11 +1927,11 @@ or
<para>
Specifies the line-style and cap-style you want to set for the specified GC.
You can pass
-<function>CapNotLast ,</function>
-<function>CapButt ,</function>
-<function>CapRound ,</function>
+<function>CapNotLast</function>,
+<function>CapButt</function>,
+<function>CapRound</function>,
or
-<function>CapProjecting .</function>
+<function>CapProjecting</function>.
</para>
</listitem>
</varlistentry>
@@ -1943,10 +1943,10 @@ or
<para>
Specifies the line join-style you want to set for the specified GC.
You can pass
-<function>JoinMiter ,</function>
-<function>JoinRound ,</function>
+<function>JoinMiter</function>,
+<function>JoinRound</function>,
or
-<function>JoinBevel .</function>
+<function>JoinBevel</function>.
</para>
</listitem>
</varlistentry>
@@ -1957,8 +1957,8 @@ or
<!-- .eM -->
<function>XSetLineAttributes</function>
can generate
-<function>BadAlloc ,</function>
-<function>BadGC ,</function>
+<function>BadAlloc</function>,
+<function>BadGC</function>,
and
<function>BadValue </function>
errors.
@@ -1967,7 +1967,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To set the dash-offset and dash-list for dashed line styles of a given GC, use
-<function>XSetDashes .</function>
+<function>XSetDashes</function>.
<indexterm significance="preferred"><primary>XSetDashes</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2081,8 +2081,8 @@ For all other lines, the major axis is the y axis.
<!-- .LP -->
<function>XSetDashes</function>
can generate
-<function>BadAlloc ,</function>
-<function>BadGC ,</function>
+<function>BadAlloc</function>,
+<function>BadGC</function>,
and
<function>BadValue </function>
errors.
@@ -2096,7 +2096,7 @@ errors.
<para>
<!-- .LP -->
To set the fill-style of a given GC, use
-<function>XSetFillStyle .</function>
+<function>XSetFillStyle</function>.
<indexterm significance="preferred"><primary>XSetFillStyle</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2137,11 +2137,11 @@ Specifies the GC.
<para>
Specifies the fill-style you want to set for the specified GC.
You can pass
-<function>FillSolid ,</function>
-<function>FillTiled ,</function>
-<function>FillStippled ,</function>
+<function>FillSolid</function>,
+<function>FillTiled</function>,
+<function>FillStippled</function>,
or
-<function>FillOpaqueStippled .</function>
+<function>FillOpaqueStippled</function>.
</para>
</listitem>
</varlistentry>
@@ -2152,8 +2152,8 @@ or
<!-- .eM -->
<function>XSetFillStyle</function>
can generate
-<function>BadAlloc ,</function>
-<function>BadGC ,</function>
+<function>BadAlloc</function>,
+<function>BadGC</function>,
and
<function>BadValue </function>
errors.
@@ -2162,7 +2162,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To set the fill-rule of a given GC, use
-<function>XSetFillRule .</function>
+<function>XSetFillRule</function>.
<indexterm significance="preferred"><primary>XSetFillRule</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2205,7 +2205,7 @@ Specifies the fill-rule you want to set for the specified GC.
You can pass
<function>EvenOddRule</function>
or
-<function>WindingRule .</function>
+<function>WindingRule</function>.
</para>
</listitem>
</varlistentry>
@@ -2216,8 +2216,8 @@ or
<!-- .eM -->
<function>XSetFillRule</function>
can generate
-<function>BadAlloc ,</function>
-<function>BadGC ,</function>
+<function>BadAlloc</function>,
+<function>BadGC</function>,
and
<function>BadValue </function>
errors.
@@ -2242,7 +2242,7 @@ as well as to set the tile or stipple shape and the tile or stipple origin.
<!-- .LP -->
<!-- .sp -->
To obtain the best size of a tile, stipple, or cursor, use
-<function>XQueryBestSize .</function>
+<function>XQueryBestSize</function>.
<indexterm significance="preferred"><primary>XQueryBestSize</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2275,10 +2275,10 @@ Specifies the connection to the X server.
<para>
Specifies the class that you are interested in.
You can pass
-<function>TileShape , </function>
-<function>CursorShape , </function>
+<function>TileShape</function>,
+<function>CursorShape</function>,
or
-<function>StippleShape .</function>
+<function>StippleShape</function>.
</para>
</listitem>
</varlistentry>
@@ -2344,29 +2344,29 @@ The
<function>XQueryBestSize</function>
function returns the best or closest size to the specified size.
For
-<function>CursorShape ,</function>
+<function>CursorShape</function>,
this is the largest size that can be fully displayed on the screen specified by
which_screen.
For
-<function>TileShape ,</function>
+<function>TileShape</function>,
this is the size that can be tiled fastest.
For
-<function>StippleShape ,</function>
+<function>StippleShape</function>,
this is the size that can be stippled fastest.
For
-<function>CursorShape ,</function>
+<function>CursorShape</function>,
the drawable indicates the desired screen.
For
<function>TileShape </function>
and
-<function>StippleShape ,</function>
+<function>StippleShape</function>,
the drawable indicates the screen and possibly the window class and depth.
An
<function>InputOnly </function>
window cannot be used as the drawable for
<function>TileShape</function>
or
-<function>StippleShape ,</function>
+<function>StippleShape</function>,
or a
<function>BadMatch </function>
error results.
@@ -2375,8 +2375,8 @@ error results.
<!-- .LP -->
<function>XQueryBestSize</function>
can generate
-<function>BadDrawable ,</function>
-<function>BadMatch ,</function>
+<function>BadDrawable</function>,
+<function>BadMatch</function>,
and
<function>BadValue </function>
errors.
@@ -2385,7 +2385,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To obtain the best fill tile shape, use
-<function>XQueryBestTile .</function>
+<function>XQueryBestTile</function>.
<indexterm significance="preferred"><primary>XQueryBestTile</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2491,7 +2491,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To obtain the best stipple shape, use
-<function>XQueryBestStipple .</function>
+<function>XQueryBestStipple</function>.
<indexterm significance="preferred"><primary>XQueryBestStipple</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2597,7 +2597,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To set the fill tile of a given GC, use
-<function>XSetTile .</function>
+<function>XSetTile</function>.
<indexterm significance="preferred"><primary>XSetTile</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2654,9 +2654,9 @@ error results.
<!-- .LP -->
<function>XSetTile</function>
can generate
-<function>BadAlloc ,</function>
-<function>BadGC ,</function>
-<function>BadMatch ,</function>
+<function>BadAlloc</function>,
+<function>BadGC</function>,
+<function>BadMatch</function>,
and
<function>BadPixmap </function>
errors.
@@ -2665,7 +2665,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To set the stipple of a given GC, use
-<function>XSetStipple .</function>
+<function>XSetStipple</function>.
<indexterm significance="preferred"><primary>XSetStipple</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2722,9 +2722,9 @@ error results.
<!-- .LP -->
<function>XSetStipple</function>
can generate
-<function>BadAlloc ,</function>
-<function>BadGC ,</function>
-<function>BadMatch ,</function>
+<function>BadAlloc</function>,
+<function>BadGC</function>,
+<function>BadMatch</function>,
and
<function>BadPixmap </function>
errors.
@@ -2733,7 +2733,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To set the tile or stipple origin of a given GC, use
-<function>XSetTSOrigin .</function>
+<function>XSetTSOrigin</function>.
<indexterm significance="preferred"><primary>XSetTSOrigin</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2814,7 +2814,7 @@ errors.
<para>
<!-- .LP -->
To set the current font of a given GC, use
-<function>XSetFont .</function>
+<function>XSetFont</function>.
<indexterm significance="preferred"><primary>XSetFont</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2864,8 +2864,8 @@ Specifies the font.
<!-- .eM -->
<function>XSetFont</function>
can generate
-<function>BadAlloc ,</function>
-<function>BadFont ,</function>
+<function>BadAlloc</function>,
+<function>BadFont</function>,
and
<function>BadGC </function>
errors.
@@ -2885,7 +2885,7 @@ and the clip-mask or set the clip-mask to a list of rectangles.
<!-- .LP -->
<!-- .sp -->
To set the clip-origin of a given GC, use
-<function>XSetClipOrigin .</function>
+<function>XSetClipOrigin</function>.
<indexterm significance="preferred"><primary>XSetClipOrigin</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2960,7 +2960,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To set the clip-mask of a given GC to the specified pixmap, use
-<function>XSetClipMask .</function>
+<function>XSetClipMask</function>.
<indexterm significance="preferred"><primary>XSetClipMask</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3000,7 +3000,7 @@ Specifies the GC.
<listitem>
<para>
Specifies the pixmap or
-<function>None .</function>
+<function>None</function>.
</para>
</listitem>
</varlistentry>
@@ -3010,16 +3010,16 @@ Specifies the pixmap or
<!-- .LP -->
<!-- .eM -->
If the clip-mask is set to
-<function>None ,</function>
+<function>None</function>,
the pixels are always drawn (regardless of the clip-origin).
</para>
<para>
<!-- .LP -->
<function>XSetClipMask</function>
can generate
-<function>BadAlloc ,</function>
-<function>BadGC ,</function>
-<function>BadMatch ,</function>
+<function>BadAlloc</function>,
+<function>BadGC</function>,
+<function>BadMatch</function>,
and
<function>BadPixmap </function>
errors.
@@ -3028,7 +3028,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To set the clip-mask of a given GC to the specified list of rectangles, use
-<function>XSetClipRectangles .</function>
+<function>XSetClipRectangles</function>.
<indexterm significance="preferred"><primary>XSetClipRectangles</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3113,11 +3113,11 @@ Specifies the number of rectangles.
<para>
Specifies the ordering relations on the rectangles.
You can pass
-<function>Unsorted ,</function>
-<function>YSorted ,</function>
-<function>YXSorted ,</function>
+<function>Unsorted</function>,
+<function>YSorted</function>,
+<function>YXSorted</function>,
or
-<function>YXBanded .</function>
+<function>YXBanded</function>.
</para>
</listitem>
</varlistentry>
@@ -3142,10 +3142,10 @@ which effectively disables output.
This is the opposite of passing
<function>None</function>
as the clip-mask in
-<function>XCreateGC ,</function>
-<function>XChangeGC ,</function>
+<function>XCreateGC</function>,
+<function>XChangeGC</function>,
and
-<function>XSetClipMask .</function>
+<function>XSetClipMask</function>.
</para>
<para>
<!-- .LP -->
@@ -3179,9 +3179,9 @@ scanline have an identical Y origins and Y extents.
<!-- .LP -->
<function>XSetClipRectangles</function>
can generate
-<function>BadAlloc , </function>
-<function>BadGC ,</function>
-<function>BadMatch ,</function>
+<function>BadAlloc</function>,
+<function>BadGC</function>,
+<function>BadMatch</function>,
and
<function>BadValue </function>
errors.
@@ -3202,7 +3202,7 @@ see section 16.5.
<para>
<!-- .LP -->
To set the arc mode of a given GC, use
-<function>XSetArcMode .</function>
+<function>XSetArcMode</function>.
<indexterm significance="preferred"><primary>XSetArcMode</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3245,7 +3245,7 @@ Specifies the arc mode.
You can pass
<function>ArcChord</function>
or
-<function>ArcPieSlice .</function>
+<function>ArcPieSlice</function>.
</para>
</listitem>
</varlistentry>
@@ -3256,8 +3256,8 @@ or
<!-- .eM -->
<function>XSetArcMode</function>
can generate
-<function>BadAlloc ,</function>
-<function>BadGC ,</function>
+<function>BadAlloc</function>,
+<function>BadGC</function>,
and
<function>BadValue </function>
errors.
@@ -3266,7 +3266,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To set the subwindow mode of a given GC, use
-<function>XSetSubwindowMode .</function>
+<function>XSetSubwindowMode</function>.
<indexterm significance="preferred"><primary>XSetSubwindowMode</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3309,7 +3309,7 @@ Specifies the subwindow mode.
You can pass
<function>ClipByChildren</function>
or
-<function>IncludeInferiors .</function>
+<function>IncludeInferiors</function>.
</para>
</listitem>
</varlistentry>
@@ -3320,8 +3320,8 @@ or
<!-- .eM -->
<function>XSetSubwindowMode</function>
can generate
-<function>BadAlloc ,</function>
-<function>BadGC ,</function>
+<function>BadAlloc</function>,
+<function>BadGC</function>,
and
<function>BadValue </function>
errors.
@@ -3330,7 +3330,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To set the graphics-exposures flag of a given GC, use
-<function>XSetGraphicsExposures .</function>
+<function>XSetGraphicsExposures</function>.
<indexterm significance="preferred"><primary>XSetGraphicsExposures</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3388,8 +3388,8 @@ with this GC.
<!-- .eM -->
<function>XSetGraphicsExposures</function>
can generate
-<function>BadAlloc ,</function>
-<function>BadGC ,</function>
+<function>BadAlloc</function>,
+<function>BadGC</function>,
and
<function>BadValue </function>
errors.
diff --git a/specs/libX11/CH08.xml b/specs/libX11/CH08.xml
index b093545..7174884 100644
--- a/specs/libX11/CH08.xml
+++ b/specs/libX11/CH08.xml
@@ -28,14 +28,14 @@ Because pixmaps do not have defined backgrounds,
they cannot be filled by using the functions described in this section.
Instead, to accomplish an analogous operation on a pixmap,
you should use
-<function>XFillRectangle ,</function>
+<function>XFillRectangle</function>,
which sets the pixmap to a known value.
</para>
<para>
<!-- .LP -->
<!-- .sp -->
To clear a rectangular area of a given window, use
-<function>XClearArea .</function>
+<function>XClearArea</function>.
<indexterm><primary>Areas</primary><secondary>clearing</secondary></indexterm>
<indexterm><primary>Clearing</primary><secondary>areas</secondary></indexterm>
<indexterm significance="preferred"><primary>XClearArea</primary></indexterm>
@@ -139,7 +139,7 @@ The
function paints a rectangular area in the specified window according to the
specified dimensions with the window's background pixel or pixmap.
The subwindow-mode effectively is
-<function>ClipByChildren . </function>
+<function>ClipByChildren</function>.
If width is zero, it
is replaced with the current width of the window minus x.
If height is
@@ -148,17 +148,17 @@ If the window has a defined background tile,
the rectangle clipped by any children is filled with this tile.
If the window has
background
-<function>None , </function>
+<function>None</function>,
the contents of the window are not changed.
In either
case, if exposures is
-<function>True , </function>
+<function>True</function>,
one or more
<function>Expose </function>
events are generated for regions of the rectangle that are either visible or are
being retained in a backing store.
If you specify a window whose class is
-<function>InputOnly ,</function>
+<function>InputOnly</function>,
a
<function>BadMatch</function>
error results.
@@ -167,8 +167,8 @@ error results.
<!-- .LP -->
<function>XClearArea</function>
can generate
-<function>BadMatch ,</function>
-<function>BadValue ,</function>
+<function>BadMatch</function>,
+<function>BadValue</function>,
and
<function>BadWindow </function>
errors.
@@ -177,7 +177,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To clear the entire area in a given window, use
-<function>XClearWindow .</function>
+<function>XClearWindow</function>.
<indexterm><primary>Window</primary><secondary>clearing</secondary></indexterm>
<indexterm><primary>Clearing</primary><secondary>windows</secondary></indexterm>
<indexterm significance="preferred"><primary>XClearWindow</primary></indexterm>
@@ -222,17 +222,17 @@ function clears the entire area in the specified window and is
equivalent to
<function>XClearArea</function>
(display, w, 0, 0, 0, 0,
-<function>False ).</function>
+<function>False</function>).
If the window has a defined background tile, the rectangle is tiled with a
plane-mask of all ones and
<function>GXcopy</function>
function.
If the window has
background
-<function>None , </function>
+<function>None</function>,
the contents of the window are not changed.
If you specify a window whose class is
-<function>InputOnly ,</function>
+<function>InputOnly</function>,
a
<function>BadMatch</function>
error results.
@@ -261,7 +261,7 @@ Xlib provides functions that you can use to copy an area or a bit plane.
<!-- .sp -->
To copy an area between drawables of the same
root and depth, use
-<function>XCopyArea .</function>
+<function>XCopyArea</function>.
<indexterm><primary>Areas</primary><secondary>copying</secondary></indexterm>
<indexterm><primary>Copying</primary><secondary>areas</secondary></indexterm>
<indexterm significance="preferred"><primary>XCopyArea</primary></indexterm>
@@ -413,7 +413,7 @@ Instead, the
following occurs on all corresponding destination regions that are either
visible or are retained in backing store.
If the destination is a window with a background other than
-<function>None , </function>
+<function>None</function>,
corresponding regions
of the destination are tiled with that background
(with plane-mask of all ones and
@@ -421,7 +421,7 @@ of the destination are tiled with that background
function).
Regardless of tiling or whether the destination is a window or a pixmap,
if graphics-exposures is
-<function>True ,</function>
+<function>True</function>,
then
<function>GraphicsExpose</function>
events for all corresponding destination regions are generated.
@@ -446,8 +446,8 @@ clip-y-origin, and clip-mask.
<!-- .LP -->
<function>XCopyArea</function>
can generate
-<function>BadDrawable ,</function>
-<function>BadGC ,</function>
+<function>BadDrawable</function>,
+<function>BadGC</function>,
and
<function>BadMatch </function>
errors.
@@ -456,7 +456,7 @@ errors.
<para>
<!-- .LP -->
To copy a single bit plane of a given drawable, use
-<function>XCopyPlane .</function>
+<function>XCopyPlane</function>.
<indexterm><primary>Plane</primary><secondary>copying</secondary></indexterm>
<indexterm><primary>Copying</primary><secondary>planes</secondary></indexterm>
<indexterm significance="preferred"><primary>XCopyPlane</primary></indexterm>
@@ -640,9 +640,9 @@ and clip-mask.
<!-- .LP -->
<function>XCopyPlane</function>
can generate
-<function>BadDrawable ,</function>
-<function>BadGC ,</function>
-<function>BadMatch ,</function>
+<function>BadDrawable</function>,
+<function>BadGC</function>,
+<function>BadMatch</function>,
and
<function>BadValue </function>
errors.
@@ -762,7 +762,7 @@ for these values.
<para>
<!-- .LP -->
To draw a single point in a given drawable, use
-<function>XDrawPoint .</function>
+<function>XDrawPoint</function>.
<indexterm significance="preferred"><primary>XDrawPoint</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -834,7 +834,7 @@ Specify the x and y coordinates where you want the point drawn.
<!-- .eM -->
<!-- .sp -->
To draw multiple points in a given drawable, use
-<function>XDrawPoints .</function>
+<function>XDrawPoints</function>.
<indexterm significance="preferred"><primary>XDrawPoints</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -910,7 +910,7 @@ Specifies the coordinate mode.
You can pass
<function>CoordModeOrigin</function>
or
-<function>CoordModePrevious .</function>
+<function>CoordModePrevious</function>.
</para>
</listitem>
</varlistentry>
@@ -942,16 +942,16 @@ foreground, subwindow-mode, clip-x-origin, clip-y-origin, and clip-mask.
<!-- .LP -->
<function>XDrawPoint</function>
can generate
-<function>BadDrawable ,</function>
-<function>BadGC ,</function>
+<function>BadDrawable</function>,
+<function>BadGC</function>,
and
<function>BadMatch </function>
errors.
<function>XDrawPoints</function>
can generate
-<function>BadDrawable ,</function>
-<function>BadGC ,</function>
-<function>BadMatch ,</function>
+<function>BadDrawable</function>,
+<function>BadGC</function>,
+<function>BadMatch</function>,
and
<function>BadValue </function>
errors.
@@ -975,7 +975,7 @@ errors.
<para>
<!-- .LP -->
To draw a single line between two points in a given drawable, use
-<function>XDrawLine .</function>
+<function>XDrawLine</function>.
<indexterm significance="preferred"><primary>XDrawLine</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1069,7 +1069,7 @@ Specify the points (x1, y1) and (x2, y2) to be connected.
<!-- .eM -->
<!-- .sp -->
To draw multiple lines in a given drawable, use
-<function>XDrawLines .</function>
+<function>XDrawLines</function>.
<indexterm significance="preferred"><primary>XDrawLines</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1145,7 +1145,7 @@ Specifies the coordinate mode.
You can pass
<function>CoordModeOrigin</function>
or
-<function>CoordModePrevious .</function>
+<function>CoordModePrevious</function>.
</para>
</listitem>
</varlistentry>
@@ -1157,7 +1157,7 @@ or
<!-- .sp -->
To draw multiple, unconnected lines in a given drawable,
use
-<function>XDrawSegments .</function>
+<function>XDrawSegments</function>.
<indexterm significance="preferred"><primary>XDrawSegments</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1296,13 +1296,13 @@ tile-stipple-y-origin, dash-offset, and dash-list.
</para>
<para>
<!-- .LP -->
-<function>XDrawLine ,</function>
-<function>XDrawLines ,</function>
+<function>XDrawLine</function>,
+<function>XDrawLines</function>,
and
<function>XDrawSegments</function>
can generate
-<function>BadDrawable ,</function>
-<function>BadGC ,</function>
+<function>BadDrawable</function>,
+<function>BadGC</function>,
and
<function>BadMatch </function>
errors.
@@ -1327,7 +1327,7 @@ errors.
<para>
<!-- .LP -->
To draw the outline of a single rectangle in a given drawable, use
-<function>XDrawRectangle .</function>
+<function>XDrawRectangle</function>.
<indexterm significance="preferred"><primary>XDrawRectangle</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1424,7 +1424,7 @@ Specify the width and height(Wh.
<!-- .sp -->
To draw the outline of multiple rectangles
in a given drawable, use
-<function>XDrawRectangles .</function>
+<function>XDrawRectangles</function>.
<indexterm significance="preferred"><primary>XDrawRectangles</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1535,8 +1535,8 @@ tile-stipple-y-origin, dash-offset, and dash-list.
and
<function>XDrawRectangles</function>
can generate
-<function>BadDrawable ,</function>
-<function>BadGC ,</function>
+<function>BadDrawable</function>,
+<function>BadGC</function>,
and
<function>BadMatch </function>
errors.
@@ -1558,7 +1558,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To draw a single arc in a given drawable, use
-<function>XDrawArc .</function>
+<function>XDrawArc</function>.
<indexterm significance="preferred"><primary>XDrawArc</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1678,7 +1678,7 @@ arc, in units of degrees * 64.
<!-- .eM -->
<!-- .sp -->
To draw multiple arcs in a given drawable, use
-<function>XDrawArcs .</function>
+<function>XDrawArcs</function>.
<indexterm significance="preferred"><primary>XDrawArcs</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1866,8 +1866,8 @@ tile-stipple-y-origin, dash-offset, and dash-list.
and
<function>XDrawArcs</function>
can generate
-<function>BadDrawable ,</function>
-<function>BadGC ,</function>
+<function>BadDrawable</function>,
+<function>BadGC</function>,
and
<function>BadMatch </function>
errors.
@@ -1916,7 +1916,7 @@ A single arc or multiple arcs
<!-- .LP -->
<!-- .sp -->
To fill a single rectangular area in a given drawable, use
-<function>XFillRectangle .</function>
+<function>XFillRectangle</function>.
<indexterm significance="preferred"><primary>XFillRectangle</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2013,7 +2013,7 @@ Specify the width and height(Wh.
<!-- .eM -->
<!-- .sp -->
To fill multiple rectangular areas in a given drawable, use
-<function>XFillRectangles .</function>
+<function>XFillRectangles</function>.
<indexterm significance="preferred"><primary>XFillRectangles</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2130,8 +2130,8 @@ and tile-stipple-y-origin.
and
<function>XFillRectangles</function>
can generate
-<function>BadDrawable ,</function>
-<function>BadGC ,</function>
+<function>BadDrawable</function>,
+<function>BadGC</function>,
and
<function>BadMatch </function>
errors.
@@ -2146,7 +2146,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To fill a polygon area in a given drawable, use
-<function>XFillPolygon .</function>
+<function>XFillPolygon</function>.
<indexterm><primary>Polygons</primary><secondary>filling</secondary></indexterm>
<indexterm><primary>Filling</primary><secondary>polygon</secondary></indexterm>
<indexterm significance="preferred"><primary>XFillPolygon</primary></indexterm>
@@ -2223,10 +2223,10 @@ Specifies the number of points in the array.
<para>
Specifies a shape that helps the server to improve performance.
You can pass
-<function>Complex , </function>
-<function>Convex , </function>
+<function>Complex</function>,
+<function>Convex</function>,
or
-<function>Nonconvex .</function>
+<function>Nonconvex</function>.
</para>
</listitem>
</varlistentry>
@@ -2240,7 +2240,7 @@ Specifies the coordinate mode.
You can pass
<function>CoordModeOrigin</function>
or
-<function>CoordModePrevious .</function>
+<function>CoordModePrevious</function>.
</para>
</listitem>
</varlistentry>
@@ -2270,7 +2270,7 @@ Depending on the specified shape, the following occurs:
<listitem>
<para>
If shape is
-<function>Complex , </function>
+<function>Complex</function>,
the path may self-intersect.
Note that contiguous coincident points in the path are not treated
as self-intersection.
@@ -2279,7 +2279,7 @@ as self-intersection.
<listitem>
<para>
If shape is
-<function>Convex , </function>
+<function>Convex</function>,
for every pair of points inside the polygon,
the line segment connecting them does not intersect the path.
If known by the client,
@@ -2295,7 +2295,7 @@ the graphics results are undefined.
<listitem>
<para>
If shape is
-<function>Nonconvex , </function>
+<function>Nonconvex</function>,
the path does not self-intersect, but the shape is not
wholly convex.
If known by the client,
@@ -2328,9 +2328,9 @@ and tile-stipple-y-origin.
<!-- .LP -->
<function>XFillPolygon</function>
can generate
-<function>BadDrawable ,</function>
-<function>BadGC ,</function>
-<function>BadMatch ,</function>
+<function>BadDrawable</function>,
+<function>BadGC</function>,
+<function>BadMatch</function>,
and
<function>BadValue </function>
errors.
@@ -2347,7 +2347,7 @@ errors.
<indexterm><primary>Arcs</primary><secondary>filling</secondary></indexterm>
<indexterm><primary>Filling</primary><secondary>arcs</secondary></indexterm>
To fill a single arc in a given drawable, use
-<function>XFillArc .</function>
+<function>XFillArc</function>.
<indexterm significance="preferred"><primary>XFillArc</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2467,7 +2467,7 @@ arc, in units of degrees * 64.
<!-- .eM -->
<!-- .sp -->
To fill multiple arcs in a given drawable, use
-<function>XFillArcs .</function>
+<function>XFillArcs</function>.
<indexterm significance="preferred"><primary>XFillArcs</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2545,10 +2545,10 @@ fills the region closed by the infinitely thin path
described by the specified arc and, depending on the
arc-mode specified in the GC, one or two line segments.
For
-<function>ArcChord , </function>
+<function>ArcChord</function>,
the single line segment joining the endpoints of the arc is used.
For
-<function>ArcPieSlice ,</function>
+<function>ArcPieSlice</function>,
the two line segments joining the endpoints of the arc with the center
point are used.
<function>XFillArcs</function>
@@ -2576,8 +2576,8 @@ and tile-stipple-y-origin.
and
<function>XFillArcs</function>
can generate
-<function>BadDrawable ,</function>
-<function>BadGC ,</function>
+<function>BadDrawable</function>,
+<function>BadGC</function>,
and
<function>BadMatch </function>
errors.
@@ -2657,8 +2657,8 @@ a pointer to an array of
structures for the
characters contained in the font.
The
-<function>XFontStruct ,</function>
-<function>XFontProp ,</function>
+<function>XFontStruct</function>,
+<function>XFontProp</function>,
and
<function>XCharStruct</function>
structures contain:
@@ -2767,14 +2767,14 @@ have the following semantics:
The direction member can be either
<function>FontLeftToRight </function>
or
-<function>FontRightToLeft . </function>
+<function>FontRightToLeft</function>.
It is just a hint as to whether most
<function>XCharStruct </function>
elements
have a positive
-<function>( FontLeftToRight ) </function>
+(<function>FontLeftToRight</function>)
or a negative
-<function>( FontRightToLeft )</function>
+(<function>FontRightToLeft</function>)
character width
metric.
The core protocol defines no support for vertical text.
@@ -2830,7 +2830,7 @@ as given by both min_bounds and max_bounds.
<listitem>
<para>
If all_chars_exist is
-<function>True ,</function>
+<function>True</function>,
all characters in the per_char array have nonzero bounding boxes.
</para>
</listitem>
@@ -3014,7 +3014,7 @@ resource ID or a font ID interchangeably.
<!-- .LP -->
<!-- .sp -->
To load a given font, use
-<function>XLoadFont .</function>
+<function>XLoadFont</function>.
<indexterm significance="preferred"><primary>XLoadFont</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3075,7 +3075,7 @@ Fonts are not associated with a particular screen
and can be stored as a component
of any GC.
When the font is no longer needed, call
-<function>XUnloadFont .</function>
+<function>XUnloadFont</function>.
</para>
<para>
<!-- .LP -->
@@ -3090,7 +3090,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To return information about an available font, use
-<function>XQueryFont .</function>
+<function>XQueryFont</function>.
<indexterm significance="preferred"><primary>XQueryFont</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3141,12 +3141,12 @@ structure will be the
<function>GContext </function>
ID, and you need to be careful when using this ID in other functions
(see
-<function>XGContextFromGC ).</function>
+<function>XGContextFromGC</function>).
If the font does not exist,
<function>XQueryFont</function>
returns NULL.
To free this data, use
-<function>XFreeFontInfo .</function>
+<function>XFreeFontInfo</function>.
</para>
<para>
<!-- .LP -->
@@ -3156,7 +3156,7 @@ To perform a
and
<function>XQueryFont</function>
in a single operation, use
-<function>XLoadQueryFont .</function>
+<function>XLoadQueryFont</function>.
<indexterm significance="preferred"><primary>XLoadQueryFont</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3222,9 +3222,9 @@ To unload the font and free the storage used by the font structure
that was allocated by
<function>XQueryFont</function>
or
-<function>XLoadQueryFont ,</function>
+<function>XLoadQueryFont</function>,
use
-<function>XFreeFont .</function>
+<function>XFreeFont</function>.
<indexterm significance="preferred"><primary>XFreeFont</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3281,7 +3281,7 @@ error.
<!-- .LP -->
<!-- .sp -->
To return a given font property, use
-<function>XGetFontProperty .</function>
+<function>XGetFontProperty</function>.
<indexterm significance="preferred"><primary>XGetFontProperty</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3351,9 +3351,9 @@ it is likely that the predefined font properties will be present.
<!-- .LP -->
<!-- .sp -->
To unload a font that was loaded by
-<function>XLoadFont , </function>
+<function>XLoadFont</function>,
use
-<function>XUnloadFont .</function>
+<function>XUnloadFont</function>.
<indexterm significance="preferred"><primary>XUnloadFont</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3418,7 +3418,7 @@ when querying a font type for a list of available sizes and so on.
<!-- .LP -->
<!-- .sp -->
To return a list of the available font names, use
-<function>XListFonts .</function>
+<function>XListFonts</function>.
<indexterm significance="preferred"><primary>XListFonts</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3482,7 +3482,7 @@ The
<function>XListFonts</function>
function returns an array of available font names
(as controlled by the font search path; see
-<function>XSetFontPath )</function>
+<function>XSetFontPath</function>)
that match the string you passed to the pattern argument.
The pattern string can contain any characters,
but each asterisk (*) is a wildcard for any number of characters,
@@ -3505,7 +3505,7 @@ when finished with the result to free the memory.
<!-- .LP -->
<!-- .sp -->
To free a font name array, use
-<function>XFreeFontNames .</function>
+<function>XFreeFontNames</function>.
<indexterm significance="preferred"><primary>XFreeFontNames</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3536,13 +3536,13 @@ The
function frees the array and strings returned by
<function>XListFonts </function>
or
-<function>XListFontsWithInfo .</function>
+<function>XListFontsWithInfo</function>.
</para>
<para>
<!-- .LP -->
<!-- .sp -->
To obtain the names and information about available fonts, use
-<function>XListFontsWithInfo .</function>
+<function>XListFontsWithInfo</function>.
<indexterm significance="preferred"><primary>XListFontsWithInfo</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3639,17 +3639,17 @@ returns NULL.
<!-- .LP -->
To free only the allocated name array,
the client should call
-<function>XFreeFontNames .</function>
+<function>XFreeFontNames</function>.
To free both the name array and the font information array
or to free just the font information array,
the client should call
-<function>XFreeFontInfo .</function>
+<function>XFreeFontInfo</function>.
</para>
<para>
<!-- .LP -->
<!-- .sp -->
To free font structures and font names, use
-<function>XFreeFontInfo .</function>
+<function>XFreeFontInfo</function>.
<indexterm significance="preferred"><primary>XFreeFontInfo</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3706,7 +3706,7 @@ function frees a font structure or an array of font structures
and optionally an array of font names.
If NULL is passed for names, no font names are freed.
If a font structure for an open font (returned by
-<function>XLoadQueryFont )</function>
+<function>XLoadQueryFont</function>)
is passed, the structure is freed,
but the font is not closed; use
<function>XUnloadFont</function>
@@ -3733,7 +3733,7 @@ These functions return the sum of the character metrics in pixels.
<!-- .LP -->
<!-- .sp -->
To determine the width of an 8-bit character string, use
-<function>XTextWidth .</function>
+<function>XTextWidth</function>.
<indexterm significance="preferred"><primary>XTextWidth</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3783,7 +3783,7 @@ Specifies the character count in the specified string.
<!-- .eM -->
<!-- .sp -->
To determine the width of a 2-byte character string, use
-<function>XTextWidth16 .</function>
+<function>XTextWidth16</function>.
<indexterm significance="preferred"><primary>XTextWidth16</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3841,7 +3841,7 @@ Specifies the character count in the specified string.
<para>
<!-- .LP -->
To compute the bounding box of an 8-bit character string in a given font, use
-<function>XTextExtents .</function>
+<function>XTextExtents</function>.
<indexterm significance="preferred"><primary>XTextExtents</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3896,9 +3896,9 @@ Specifies the number of characters in the character string.
<listitem>
<para>
Returns the value of the direction hint
-<function>( FontLeftToRight</function>
+(<function>FontLeftToRight</function>
or
-<function>FontRightToLeft ).</function>
+<function>FontRightToLeft</function>).
</para>
</listitem>
</varlistentry>
@@ -3941,7 +3941,7 @@ structure.
<!-- .eM -->
<!-- .sp -->
To compute the bounding box of a 2-byte character string in a given font, use
-<function>XTextExtents16 .</function>
+<function>XTextExtents16</function>.
<indexterm significance="preferred"><primary>XTextExtents16</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3996,9 +3996,9 @@ Specifies the number of characters in the character string.
<listitem>
<para>
Returns the value of the direction hint
-<function>( FontLeftToRight</function>
+(<function>FontLeftToRight</function>
or
-<function>FontRightToLeft ).</function>
+<function>FontRightToLeft</function>).
</para>
</listitem>
</varlistentry>
@@ -4048,7 +4048,7 @@ perform the size computation locally and, thereby,
avoid the round-trip overhead of
<function>XQueryTextExtents </function>
and
-<function>XQueryTextExtents16 .</function>
+<function>XQueryTextExtents16</function>.
Both functions return an
<function>XCharStruct</function>
structure, whose members are set to the values as follows.
@@ -4088,7 +4088,7 @@ undefined characters in the string are taken to have all zero metrics.
<!-- .LP -->
To query the server for the bounding box of an 8-bit character string in a
given font, use
-<function>XQueryTextExtents .</function>
+<function>XQueryTextExtents</function>.
<indexterm significance="preferred"><primary>XQueryTextExtents</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -4154,9 +4154,9 @@ Specifies the number of characters in the character string.
<listitem>
<para>
Returns the value of the direction hint
-<function>( FontLeftToRight</function>
+(<function>FontLeftToRight</function>
or
-<function>FontRightToLeft ).</function>
+<function>FontRightToLeft</function>).
</para>
</listitem>
</varlistentry>
@@ -4200,7 +4200,7 @@ structure.
<!-- .sp -->
To query the server for the bounding box of a 2-byte character string
in a given font, use
-<function>XQueryTextExtents16 .</function>
+<function>XQueryTextExtents16</function>.
<indexterm significance="preferred"><primary>XQueryTextExtents16</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -4266,9 +4266,9 @@ Specifies the number of characters in the character string.
<listitem>
<para>
Returns the value of the direction hint
-<function>( FontLeftToRight</function>
+(<function>FontLeftToRight</function>
or
-<function>FontRightToLeft ).</function>
+<function>FontRightToLeft</function>).
</para>
</listitem>
</varlistentry>
@@ -4320,7 +4320,7 @@ These functions query the X server and, therefore, suffer the round-trip
overhead that is avoided by
<function>XTextExtents</function>
and
-<function>XTextExtents16 .</function>
+<function>XTextExtents16</function>.
Both functions return a
<function>XCharStruct </function>
structure, whose members are set to the values as follows.
@@ -4436,7 +4436,7 @@ typedef struct {
<!-- .LP -->
<!-- .eM -->
If the font member is not
-<function>None ,</function>
+<function>None</function>,
the font is changed before printing and also is stored in the GC.
If an error was generated during text drawing,
the previous items may have been drawn.
@@ -4446,7 +4446,7 @@ coordinates that you pass in the text drawing functions.
<para>
<!-- .LP -->
For example, consider the background rectangle drawn by
-<function>XDrawImageString .</function>
+<function>XDrawImageString</function>.
If you want the upper-left corner of the background rectangle
to be at pixel coordinate (x,y), pass the (x,y + ascent)
as the baseline origin coordinates to the text functions.
@@ -4473,7 +4473,7 @@ structure.
<para>
<!-- .LP -->
To draw 8-bit characters in a given drawable, use
-<function>XDrawText .</function>
+<function>XDrawText</function>.
<indexterm significance="preferred"><primary>XDrawText</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -4569,7 +4569,7 @@ Specifies the number of text items in the array.
<!-- .eM -->
<!-- .sp -->
To draw 2-byte characters in a given drawable, use
-<function>XDrawText16 .</function>
+<function>XDrawText16</function>.
<indexterm significance="preferred"><primary>XDrawText16</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -4711,9 +4711,9 @@ and tile-stipple-y-origin.
and
<function>XDrawText16</function>
can generate
-<function>BadDrawable ,</function>
-<function>BadFont ,</function>
-<function>BadGC ,</function>
+<function>BadDrawable</function>,
+<function>BadFont</function>,
+<function>BadGC</function>,
and
<function>BadMatch </function>
errors.
@@ -4729,7 +4729,7 @@ errors.
<indexterm><primary>Strings</primary><secondary>drawing</secondary></indexterm>
<indexterm><primary>Drawing</primary><secondary>strings</secondary></indexterm>
To draw 8-bit characters in a given drawable, use
-<function>XDrawString .</function>
+<function>XDrawString</function>.
<indexterm significance="preferred"><primary>XDrawString</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -4825,7 +4825,7 @@ Specifies the number of characters in the string argument.
<!-- .eM -->
<!-- .sp -->
To draw 2-byte characters in a given drawable, use
-<function>XDrawString16 .</function>
+<function>XDrawString16</function>.
<indexterm significance="preferred"><primary>XDrawString16</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -4924,7 +4924,7 @@ additional mask for a fill operation on the drawable.
The drawable is modified only where the font character has a bit set to 1.
For fonts defined with 2-byte matrix indexing
and used with
-<function>XDrawString16 ,</function>
+<function>XDrawString16</function>,
each byte is used as a byte2 with a byte1 of zero.
</para>
<para>
@@ -4942,8 +4942,8 @@ and tile-stipple-y-origin.
and
<function>XDrawString16</function>
can generate
-<function>BadDrawable ,</function>
-<function>BadGC ,</function>
+<function>BadDrawable</function>,
+<function>BadGC</function>,
and
<function>BadMatch </function>
errors.
@@ -4969,7 +4969,7 @@ This prevents annoying flicker on many displays.
<!-- .LP -->
<!-- .sp -->
To draw 8-bit image text characters in a given drawable, use
-<function>XDrawImageString .</function>
+<function>XDrawImageString</function>.
<indexterm significance="preferred"><primary>XDrawImageString</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -5065,7 +5065,7 @@ Specifies the number of characters in the string argument.
<!-- .eM -->
<!-- .sp -->
To draw 2-byte image text characters in a given drawable, use
-<function>XDrawImageString16 .</function>
+<function>XDrawImageString16</function>.
<indexterm significance="preferred"><primary>XDrawImageString16</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -5208,15 +5208,15 @@ are as would be returned by
using gc and string.
The function and fill-style defined in the GC are ignored for these functions.
The effective function is
-<function>GXcopy ,</function>
+<function>GXcopy</function>,
and the effective fill-style is
-<function>FillSolid .</function>
+<function>FillSolid</function>.
</para>
<para>
<!-- .LP -->
For fonts defined with 2-byte matrix indexing
and used with
-<function>XDrawImageString ,</function>
+<function>XDrawImageString</function>,
each byte is used as a byte2 with a byte1 of zero.
</para>
<para>
@@ -5231,8 +5231,8 @@ clip-y-origin, and clip-mask.
and
<function>XDrawImageString16</function>
can generate
-<function>BadDrawable ,</function>
-<function>BadGC ,</function>
+<function>BadDrawable</function>,
+<function>BadGC</function>,
and
<function>BadMatch </function>
errors.
@@ -5310,7 +5310,7 @@ typedef struct _XImage {
<!-- .eM -->
<!-- .sp -->
To initialize the image manipulation routines of an image structure, use
-<function>XInitImage .</function>
+<function>XInitImage</function>.
<indexterm significance="preferred"><primary>XInitImage</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -5368,7 +5368,7 @@ or inconsistency in the structure, in which case the image is not changed.
<!-- .sp -->
To combine an image with a rectangle of a drawable on the display,
use
-<function>XPutImage .</function>
+<function>XPutImage</function>.
<indexterm significance="preferred"><primary>XPutImage</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -5518,7 +5518,7 @@ and the background pixel defines the source for the zero bits.
For
<function>XYPixmap </function>
and
-<function>ZPixmap , </function>
+<function>ZPixmap</function>,
the depth of the image must match the depth of the drawable,
or a
<function>BadMatch</function>
@@ -5544,9 +5544,9 @@ foreground and background.
<!-- .LP -->
<function>XPutImage</function>
can generate
-<function>BadDrawable ,</function>
-<function>BadGC ,</function>
-<function>BadMatch ,</function>
+<function>BadDrawable</function>,
+<function>BadGC</function>,
+<function>BadMatch</function>,
and
<function>BadValue </function>
errors.
@@ -5556,7 +5556,7 @@ errors.
<!-- .sp -->
To return the contents of a rectangle in a given drawable on the display,
use
-<function>XGetImage .</function>
+<function>XGetImage</function>.
This function specifically supports rudimentary screen dumps.
<indexterm significance="preferred"><primary>XGetImage</primary></indexterm>
<!-- .sM -->
@@ -5659,7 +5659,7 @@ Specifies the format for the image.
You can pass
<function>XYPixmap</function>
or
-<function>ZPixmap .</function>
+<function>ZPixmap</function>.
</para>
</listitem>
</varlistentry>
@@ -5676,13 +5676,13 @@ structure.
This structure provides you with the contents of the specified rectangle of
the drawable in the format you specify.
If the format argument is
-<function>XYPixmap ,</function>
+<function>XYPixmap</function>,
the image contains only the bit planes you passed to the plane_mask argument.
If the plane_mask argument only requests a subset of the planes of the
display, the depth of the returned image will be the number of planes
requested.
If the format argument is
-<function>ZPixmap ,</function>
+<function>ZPixmap</function>,
<function>XGetImage</function>
returns as zero the bits in all planes not
specified in the plane_mask argument.
@@ -5733,8 +5733,8 @@ returns NULL.
<!-- .LP -->
<function>XGetImage</function>
can generate
-<function>BadDrawable ,</function>
-<function>BadMatch ,</function>
+<function>BadDrawable</function>,
+<function>BadMatch</function>,
and
<function>BadValue </function>
errors.
@@ -5744,7 +5744,7 @@ errors.
<!-- .LP -->
To copy the contents of a rectangle on the display
to a location within a preexisting image structure, use
-<function>XGetSubImage .</function>
+<function>XGetSubImage</function>.
<indexterm significance="preferred"><primary>XGetSubImage</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -5848,7 +5848,7 @@ Specifies the format for the image.
You can pass
<function>XYPixmap</function>
or
-<function>ZPixmap .</function>
+<function>ZPixmap</function>.
</para>
</listitem>
</varlistentry>
@@ -5894,12 +5894,12 @@ Specify the x and y coordinates(Dx.
The
<function>XGetSubImage </function>
function updates dest_image with the specified subimage in the same manner as
-<function>XGetImage . </function>
+<function>XGetImage</function>.
If the format argument is
-<function>XYPixmap ,</function>
+<function>XYPixmap</function>,
the image contains only the bit planes you passed to the plane_mask argument.
If the format argument is
-<function>ZPixmap ,</function>
+<function>ZPixmap</function>,
<function>XGetSubImage</function>
returns as zero the bits in all planes not
specified in the plane_mask argument.
@@ -5946,9 +5946,9 @@ returns NULL.
<!-- .LP -->
<function>XGetSubImage</function>
can generate
-<function>BadDrawable ,</function>
-<function>BadGC ,</function>
-<function>BadMatch ,</function>
+<function>BadDrawable</function>,
+<function>BadGC</function>,
+<function>BadMatch</function>,
and
<function>BadValue </function>
errors.
diff --git a/specs/libX11/CH09.xml b/specs/libX11/CH09.xml
index 2f2d1e3..9b0778d 100644
--- a/specs/libX11/CH09.xml
+++ b/specs/libX11/CH09.xml
@@ -27,7 +27,7 @@ programs. Xlib provides management functions to:
<para>
<!-- .LP -->
To change a window's parent to another window on the same screen, use
-<function>XReparentWindow .</function>
+<function>XReparentWindow</function>.
There is no way to move a window between screens.
<indexterm significance="preferred"><primary>XReparentWindow</primary></indexterm>
<!-- .sM -->
@@ -119,7 +119,7 @@ The override_redirect member returned in this event is
set to the window's corresponding attribute.
Window manager clients usually should ignore this window if this member
is set to
-<function>True .</function>
+<function>True</function>.
Finally, if the specified window was originally mapped,
the X server automatically performs a
<function>MapWindow</function>
@@ -156,7 +156,7 @@ specified window.
<listitem>
<para>
The new parent is
-<function>InputOnly ,</function>
+<function>InputOnly</function>,
and the window is not.
</para>
</listitem>
@@ -212,7 +212,7 @@ when they are destroyed.
<!-- .LP -->
<!-- .sp -->
To add or remove a window from the client's save-set, use
-<function>XChangeSaveSet .</function>
+<function>XChangeSaveSet</function>.
<indexterm significance="preferred"><primary>XChangeSaveSet</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -256,7 +256,7 @@ Specifies the mode.
You can pass
<function>SetModeInsert </function>
or
-<function>SetModeDelete .</function>
+<function>SetModeDelete</function>.
</para>
</listitem>
</varlistentry>
@@ -277,8 +277,8 @@ error results.
<!-- .LP -->
<function>XChangeSaveSet</function>
can generate
-<function>BadMatch ,</function>
-<function>BadValue ,</function>
+<function>BadMatch</function>,
+<function>BadValue</function>,
and
<function>BadWindow </function>
errors.
@@ -287,7 +287,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To add a window to the client's save-set, use
-<function>XAddToSaveSet .</function>
+<function>XAddToSaveSet</function>.
<indexterm significance="preferred"><primary>XAddToSaveSet</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -346,7 +346,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To remove a window from the client's save-set, use
-<function>XRemoveFromSaveSet .</function>
+<function>XRemoveFromSaveSet</function>.
<indexterm significance="preferred"><primary>XRemoveFromSaveSet</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -426,7 +426,7 @@ where M is the minimum number of installed colormaps specified for the screen
in the connection setup.
The required list is maintained as follows.
When a colormap is specified to
-<function>XInstallColormap ,</function>
+<function>XInstallColormap</function>,
it is added to the head of the list;
the list is truncated at the tail, if necessary, to keep its length to
at most M.
@@ -443,7 +443,7 @@ required list.
<!-- .LP -->
<!-- .sp -->
To install a colormap, use
-<function>XInstallColormap .</function>
+<function>XInstallColormap</function>.
<indexterm significance="preferred"><primary>XInstallColormap</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -486,11 +486,11 @@ function installs the specified colormap for its associated screen.
All windows associated with this colormap immediately display with
true colors.
You associated the windows with this colormap when you created them by calling
-<function>XCreateWindow ,</function>
-<function>XCreateSimpleWindow ,</function>
-<function>XChangeWindowAttributes ,</function>
+<function>XCreateWindow</function>,
+<function>XCreateSimpleWindow</function>,
+<function>XChangeWindowAttributes</function>,
or
-<function>XSetWindowColormap .</function>
+<function>XSetWindowColormap</function>.
</para>
<para>
<!-- .LP -->
@@ -500,7 +500,7 @@ the X server generates a
event on each window that has that colormap.
In addition, for every other colormap that is installed as
a result of a call to
-<function>XInstallColormap ,</function>
+<function>XInstallColormap</function>,
the X server generates a
<function>ColormapNotify</function>
event on each window that has that colormap.
@@ -516,7 +516,7 @@ error.
<!-- .LP -->
<!-- .sp -->
To uninstall a colormap, use
-<function>XUninstallColormap .</function>
+<function>XUninstallColormap</function>.
<indexterm significance="preferred"><primary>XUninstallColormap</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -571,7 +571,7 @@ the X server generates a
event on each window that has that colormap.
In addition, for every other colormap that is installed or uninstalled as a
result of a call to
-<function>XUninstallColormap ,</function>
+<function>XUninstallColormap</function>,
the X server generates a
<function>ColormapNotify</function>
event on each window that has that colormap.
@@ -587,7 +587,7 @@ error.
<!-- .LP -->
<!-- .sp -->
To obtain a list of the currently installed colormaps for a given screen, use
-<function>XListInstalledColormaps .</function>
+<function>XListInstalledColormaps</function>.
<indexterm significance="preferred"><primary>XListInstalledColormaps</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -644,7 +644,7 @@ The order of the colormaps in the list is not significant
and is no explicit indication of the required list.
When the allocated list is no longer needed,
free it by using
-<function>XFree .</function>
+<function>XFree</function>.
</para>
<para>
<!-- .LP -->
@@ -669,7 +669,7 @@ search path for a server.
<!-- .LP -->
<!-- .sp -->
To set the font search path, use
-<function>XSetFontPath .</function>
+<function>XSetFontPath</function>.
<indexterm significance="preferred"><primary>XSetFontPath</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -747,7 +747,7 @@ error.
<!-- .LP -->
<!-- .sp -->
To get the current font search path, use
-<function>XGetFontPath .</function>
+<function>XGetFontPath</function>.
<indexterm significance="preferred"><primary>XGetFontPath</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -791,15 +791,15 @@ The contents of these strings are implementation-dependent
and are not intended to be interpreted by client applications.
When it is no longer needed,
the data in the font path should be freed by using
-<function>XFreeFontPath .</function>
+<function>XFreeFontPath</function>.
</para>
<para>
<!-- .LP -->
<!-- .sp -->
To free data returned by
-<function>XGetFontPath ,</function>
+<function>XGetFontPath</function>,
use
-<function>XFreeFontPath .</function>
+<function>XFreeFontPath</function>.
<indexterm significance="preferred"><primary>XFreeFontPath</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -829,7 +829,7 @@ The
<function>XFreeFontPath</function>
function
frees the data allocated by
-<function>XGetFontPath .</function>
+<function>XGetFontPath</function>.
</para>
</sect1>
<sect1 id="Grabbing_the_Server_">
@@ -853,7 +853,7 @@ Although grabbing the server is highly discouraged, it is sometimes necessary.
<!-- .LP -->
<!-- .sp -->
To grab the server, use
-<function>XGrabServer .</function>
+<function>XGrabServer</function>.
<indexterm><primary>Server</primary><secondary>grabbing</secondary></indexterm>
<indexterm><primary>Grabbing</primary><secondary>server</secondary></indexterm>
<indexterm significance="preferred"><primary>XGrabServer</primary></indexterm>
@@ -891,7 +891,7 @@ You should not grab the X server any more than is absolutely necessary.
<!-- .LP -->
<!-- .sp -->
To ungrab the server, use
-<function>XUngrabServer .</function>
+<function>XUngrabServer</function>.
<indexterm significance="preferred"><primary>XUngrabServer</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -933,7 +933,7 @@ You should avoid grabbing the X server as much as possible.
Xlib provides a function to cause the connection to
a client to be closed and its resources to be destroyed.
To destroy a client, use
-<function>XKillClient .</function>
+<function>XKillClient</function>.
<indexterm significance="preferred"><primary>XKillClient</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -962,7 +962,7 @@ Specifies the connection to the X server.
<listitem>
<para>
Specifies any resource associated with the client that you want to destroy or
-<function>AllTemporary .</function>
+<function>AllTemporary</function>.
</para>
</listitem>
</varlistentry>
@@ -991,7 +991,7 @@ is specified, the resources of all clients that have terminated in
are destroyed (see section 2.5).
This permits implementation of window manager facilities that aid debugging.
A client can set its close-down mode to
-<function>RetainTemporary .</function>
+<function>RetainTemporary</function>.
If the client then crashes,
its windows would not be destroyed.
The programmer can then inspect the application's window tree
@@ -1020,7 +1020,7 @@ or to obtain the current screen saver values.
<!-- .LP -->
<!-- .sp -->
To set the screen saver mode, use
-<function>XSetScreenSaver .</function>
+<function>XSetScreenSaver</function>.
<indexterm significance="preferred"><primary>XSetScreenSaver</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1072,10 +1072,10 @@ Specifies the interval, in seconds, between screen saver alterations.
<para>
Specifies how to enable screen blanking.
You can pass
-<function>DontPreferBlanking ,</function>
-<function>PreferBlanking ,</function>
+<function>DontPreferBlanking</function>,
+<function>PreferBlanking</function>,
or
-<function>DefaultBlanking .</function>
+<function>DefaultBlanking</function>.
</para>
</listitem>
</varlistentry>
@@ -1087,10 +1087,10 @@ or
<para>
Specifies the screen save control values.
You can pass
-<function>DontAllowExposures ,</function>
-<function>AllowExposures ,</function>
+<function>DontAllowExposures</function>,
+<function>AllowExposures</function>,
or
-<function>DefaultExposures .</function>
+<function>DefaultExposures</function>.
</para>
</listitem>
</varlistentry>
@@ -1132,7 +1132,7 @@ and all screen states are restored at the next
keyboard or pointer input or at the next call to
<function>XForceScreenSaver</function>
with mode
-<function>ScreenSaverReset . </function>
+<function>ScreenSaverReset</function>.
</para>
<para>
<!-- .LP -->
@@ -1155,7 +1155,7 @@ error.
<!-- .LP -->
<!-- .sp -->
To force the screen saver on or off, use
-<function>XForceScreenSaver .</function>
+<function>XForceScreenSaver</function>.
<indexterm significance="preferred"><primary>XForceScreenSaver</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1187,7 +1187,7 @@ Specifies the mode that is to be applied.
You can pass
<function>ScreenSaverActive</function>
or
-<function>ScreenSaverReset .</function>
+<function>ScreenSaverReset</function>.
</para>
</listitem>
</varlistentry>
@@ -1221,7 +1221,7 @@ error.
<!-- .LP -->
<!-- .sp -->
To activate the screen saver, use
-<function>XActivateScreenSaver .</function>
+<function>XActivateScreenSaver</function>.
<indexterm significance="preferred"><primary>XActivateScreenSaver</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1249,7 +1249,7 @@ Specifies the connection to the X server.
<!-- .eM -->
<!-- .sp -->
To reset the screen saver, use
-<function>XResetScreenSaver .</function>
+<function>XResetScreenSaver</function>.
<indexterm significance="preferred"><primary>XResetScreenSaver</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1277,7 +1277,7 @@ Specifies the connection to the X server.
<!-- .eM -->
<!-- .sp -->
To get the current screen saver values, use
-<function>XGetScreenSaver .</function>
+<function>XGetScreenSaver</function>.
<indexterm significance="preferred"><primary>XGetScreenSaver</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1328,10 +1328,10 @@ Returns the interval between screen saver invocations.
<listitem>
<para>
Returns the current screen blanking preference
-<function>( DontPreferBlanking ,</function>
-<function>PreferBlanking ,</function>
+(<function>DontPreferBlanking</function>,
+<function>PreferBlanking</function>,
or
-<function>DefaultBlanking ).</function>
+<function>DefaultBlanking</function>).
</para>
</listitem>
</varlistentry>
@@ -1342,10 +1342,10 @@ or
<listitem>
<para>
Returns the current screen save control value
-<function>( DontAllowExposures ,</function>
-<function>AllowExposures ,</function>
+(<function>DontAllowExposures</function>,
+<function>AllowExposures</function>,
or
-<function>DefaultExposures ).</function>
+<function>DefaultExposures</function>).
</para>
</listitem>
</varlistentry>
@@ -1464,12 +1464,12 @@ typedef struct {
<!-- .eM -->
The family member specifies which protocol address family to use
(for example, <acronym>TCP</acronym>/<acronym>IP</acronym> or DECnet) and can be
-<function>FamilyInternet ,</function>
-<function>FamilyInternet6 ,</function>
-<function>FamilyServerInterpreted ,</function>
-<function>FamilyDECnet ,</function>
+<function>FamilyInternet</function>,
+<function>FamilyInternet6</function>,
+<function>FamilyServerInterpreted</function>,
+<function>FamilyDECnet</function>,
or
-<function>FamilyChaos .</function>
+<function>FamilyChaos</function>.
The length member specifies the length of the address in bytes.
The address member specifies a pointer to the address.
</para>
@@ -1524,7 +1524,7 @@ specify the length in byte of the type and value strings.
<!-- .LP -->
<!-- .sp -->
To add a single host, use
-<function>XAddHost .</function>
+<function>XAddHost</function>.
<indexterm significance="preferred"><primary>XAddHost</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1582,7 +1582,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To add multiple hosts at one time, use
-<function>XAddHosts .</function>
+<function>XAddHosts</function>.
<indexterm significance="preferred"><primary>XAddHosts</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1651,7 +1651,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To obtain a host list, use
-<function>XListHosts .</function>
+<function>XListHosts</function>.
<indexterm significance="preferred"><primary>XListHosts</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1709,13 +1709,13 @@ It also returns a pointer to a list of host structures that
were allocated by the function.
When no longer needed,
this memory should be freed by calling
-<function>XFree .</function>
+<function>XFree</function>.
</para>
<para>
<!-- .LP -->
<!-- .sp -->
To remove a single host, use
-<function>XRemoveHost .</function>
+<function>XRemoveHost</function>.
<indexterm significance="preferred"><primary>XRemoveHost</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1777,7 +1777,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To remove multiple hosts at one time, use
-<function>XRemoveHosts .</function>
+<function>XRemoveHosts</function>.
<indexterm significance="preferred"><primary>XRemoveHosts</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1868,7 +1868,7 @@ at connection setup.
<!-- .LP -->
<!-- .sp -->
To change access control, use
-<function>XSetAccessControl .</function>
+<function>XSetAccessControl</function>.
<indexterm significance="preferred"><primary>XSetAccessControl</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1900,7 +1900,7 @@ Specifies the mode.
You can pass
<function>EnableAccess</function>
or
-<function>DisableAccess .</function>
+<function>DisableAccess</function>.
</para>
</listitem>
</varlistentry>
@@ -1927,7 +1927,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To enable access control, use
-<function>XEnableAccessControl .</function>
+<function>XEnableAccessControl</function>.
<indexterm significance="preferred"><primary>XEnableAccessControl</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1968,7 +1968,7 @@ error.
<!-- .LP -->
<!-- .sp -->
To disable access control, use
-<function>XDisableAccessControl .</function>
+<function>XDisableAccessControl</function>.
<indexterm significance="preferred"><primary>XDisableAccessControl</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
diff --git a/specs/libX11/CH10.xml b/specs/libX11/CH10.xml
index 749d29e..95cb3ae 100644
--- a/specs/libX11/CH10.xml
+++ b/specs/libX11/CH10.xml
@@ -85,23 +85,23 @@ The processing associated with these events is discussed in section 10.5.
<tbody>
<row>
<entry>Keyboard events</entry>
- <entry><function>KeyPress ,</function>
+ <entry><function>KeyPress</function>,
<function>KeyRelease</function></entry>
</row>
<row>
<entry>Pointer events</entry>
- <entry><function>ButtonPress , </function>
- <function>ButtonRelease ,</function>
+ <entry><function>ButtonPress</function>,
+ <function>ButtonRelease</function>,
<function>MotionNotify</function></entry>
</row>
<row>
<entry>Window crossing events</entry>
- <entry><function>EnterNotify , </function>
+ <entry><function>EnterNotify</function>,
<function>LeaveNotify</function></entry>
</row>
<row>
<entry>Input focus events</entry>
- <entry><function>FocusIn , </function>
+ <entry><function>FocusIn</function>,
<function>FocusOut</function></entry>
</row>
<row>
@@ -110,29 +110,29 @@ The processing associated with these events is discussed in section 10.5.
</row>
<row>
<entry>Exposure events</entry>
- <entry><function>Expose , </function>
- <function>GraphicsExpose , </function>
+ <entry><function>Expose</function>,
+ <function>GraphicsExpose</function>,
<function>NoExpose</function></entry>
</row>
<row>
<entry>Structure control events</entry>
- <entry><function>CirculateRequest , </function>
- <function>ConfigureRequest , </function>
- <function>MapRequest ,</function>
+ <entry><function>CirculateRequest</function>,
+ <function>ConfigureRequest</function>,
+ <function>MapRequest</function>,
<function>ResizeRequest</function></entry>
</row>
<row>
<entry>Window state notification events</entry>
<entry>
- <function>CirculateNotify , </function>
- <function>ConfigureNotify , </function>
- <function>CreateNotify , </function>
- <function>DestroyNotify , </function>
- <function>GravityNotify , </function>
- <function>MapNotify ,</function>
- <function>MappingNotify , </function>
- <function>ReparentNotify , </function>
- <function>UnmapNotify , </function>
+ <function>CirculateNotify</function>,
+ <function>ConfigureNotify</function>,
+ <function>CreateNotify</function>,
+ <function>DestroyNotify</function>,
+ <function>GravityNotify</function>,
+ <function>MapNotify</function>,
+ <function>MappingNotify</function>,
+ <function>ReparentNotify</function>,
+ <function>UnmapNotify</function>,
<function>VisibilityNotify</function></entry>
</row>
<row>
@@ -141,10 +141,10 @@ The processing associated with these events is discussed in section 10.5.
</row>
<row>
<entry>Client communication events</entry>
- <entry><function>ClientMessage , </function>
- <function>PropertyNotify , </function>
- <function>SelectionClear , </function>
- <function>SelectionNotify , </function>
+ <entry><function>ClientMessage</function>,
+ <function>PropertyNotify</function>,
+ <function>SelectionClear</function>,
+ <function>SelectionNotify</function>,
<function>SelectionRequest</function></entry>
</row>
</tbody>
@@ -200,7 +200,7 @@ For example, when the X server reports a
event to a client application, it sends an
<function>XGraphicsExposeEvent</function>
structure with the type member set to
-<function>GraphicsExpose .</function>
+<function>GraphicsExpose</function>.
The display member is set to a pointer to the display the event was read on.
The send_event member is set to
<function>True</function>
@@ -323,17 +323,17 @@ return to a client application.
Unless the client has specifically asked for them,
most events are not reported to clients when they are generated.
Unless the client suppresses them by setting graphics-exposures in the GC to
-<function>False ,</function>
+<function>False</function>,
<function>GraphicsExpose </function>
and
<function>NoExpose </function>
are reported by default as a result of
<function>XCopyPlane</function>
and
-<function>XCopyArea .</function>
-<function>SelectionClear ,</function>
-<function>SelectionRequest ,</function>
-<function>SelectionNotify ,</function>
+<function>XCopyArea</function>.
+<function>SelectionClear</function>,
+<function>SelectionRequest</function>,
+<function>SelectionNotify</function>,
or
<function>ClientMessage</function>
cannot be masked.
@@ -491,7 +491,7 @@ for a window.
For some event masks, there is a one-to-one correspondence between
the event mask constant and the event type constant.
For example, if you pass the event mask
-<function>ButtonPressMask ,</function>
+<function>ButtonPressMask</function>,
the X server sends back only
<function>ButtonPress</function>
events.
@@ -503,15 +503,15 @@ which is the time at which an event occurred.
<!-- .LP -->
In other cases, one event mask constant can map to several event type constants.
For example, if you pass the event mask
-<function>SubstructureNotifyMask ,</function>
+<function>SubstructureNotifyMask</function>,
the X server can send back
-<function>CirculateNotify ,</function>
-<function>ConfigureNotify ,</function>
-<function>CreateNotify ,</function>
-<function>DestroyNotify ,</function>
-<function>GravityNotify ,</function>
-<function>MapNotify ,</function>
-<function>ReparentNotify ,</function>
+<function>CirculateNotify</function>,
+<function>ConfigureNotify</function>,
+<function>CreateNotify</function>,
+<function>DestroyNotify</function>,
+<function>GravityNotify</function>,
+<function>MapNotify</function>,
+<function>ReparentNotify</function>,
or
<function>UnmapNotify</function>
events.
@@ -524,7 +524,7 @@ For example,
if you pass either
<function>PointerMotionMask </function>
or
-<function>ButtonMotionMask ,</function>
+<function>ButtonMotionMask</function>,
the X server sends back
a
<function>MotionNotify</function>
@@ -933,7 +933,7 @@ with these client passed arguments:
</row>
<row>
<entry><emphasis remap='I'>owner_events</emphasis></entry>
- <entry><function>True ,</function>
+ <entry><function>True</function>,
if the client has selected
<function>OwnerGrabButtonMask</function>
on the event window,
@@ -959,7 +959,7 @@ the logical state of the pointer has all buttons released.
Clients can modify the active grab by calling
<function>XUngrabPointer</function>
and
-<function>XChangeActivePointerGrab .</function>
+<function>XChangeActivePointerGrab</function>.
</para>
</sect2>
@@ -981,10 +981,10 @@ keyboard events
and
<function>KeyRelease </function>
and the pointer events
-<function>ButtonPress ,</function>
-<function>ButtonRelease ,</function>
+<function>ButtonPress</function>,
+<function>ButtonRelease</function>,
and
-<function>MotionNotify .</function>
+<function>MotionNotify</function>.
For information about the keyboard event-handling utilities,
see chapter 11.
</para>
@@ -1029,15 +1029,15 @@ if device event processing is frozen.
<para>
<!-- .LP -->
To receive
-<function>KeyPress ,</function>
-<function>KeyRelease ,</function>
-<function>ButtonPress ,</function>
+<function>KeyPress</function>,
+<function>KeyRelease</function>,
+<function>ButtonPress</function>,
and
<function>ButtonRelease </function>
events, set
-<function>KeyPressMask ,</function>
-<function>KeyReleaseMask ,</function>
-<function>ButtonPressMask ,</function>
+<function>KeyPressMask</function>,
+<function>KeyReleaseMask</function>,
+<function>ButtonPressMask</function>,
and
<function>ButtonReleaseMask </function>
bits in the event-mask attribute of the window.
@@ -1103,17 +1103,17 @@ the X server is free to send only one
event (with the is_hint member of the
<function>XPointerMovedEvent</function>
structure set to
-<function>NotifyHint )</function>
+<function>NotifyHint</function>)
to the client for the event window,
until either the key or button state changes,
the pointer leaves the event window, or the client calls
<function>XQueryPointer</function>
or
-<function>XGetMotionEvents .</function>
+<function>XGetMotionEvents</function>.
The server still may send
<function>MotionNotify</function>
events without is_hint set to
-<function>NotifyHint .</function>
+<function>NotifyHint</function>.
</para>
</listitem>
</itemizedlist>
@@ -1214,12 +1214,12 @@ window is on the same screen
as the root window and can be either
<function>True </function>
or
-<function>False .</function>
+<function>False</function>.
If
-<function>True ,</function>
+<function>True</function>,
the event and root windows are on the same screen.
If
-<function>False ,</function>
+<function>False</function>,
the event and root windows are not on the same screen.
</para>
<para>
@@ -1229,7 +1229,7 @@ the subwindow member of the structure is set to the child of the event window
that is the source window or the child of the event window that is
an ancestor of the source window.
Otherwise, the X server sets the subwindow member to
-<function>None .</function>
+<function>None</function>.
The time member is set to the time when the event was generated
and is expressed in milliseconds.
</para>
@@ -1246,20 +1246,20 @@ The state member is set to indicate the logical state of the pointer buttons
and modifier keys just prior to the event,
which is the bitwise inclusive OR of one or more of the
button or modifier key masks:
-<function>Button1Mask ,</function>
-<function>Button2Mask ,</function>
-<function>Button3Mask ,</function>
-<function>Button4Mask ,</function>
-<function>Button5Mask ,</function>
-<function>ShiftMask ,</function>
-<function>LockMask ,</function>
-<function>ControlMask ,</function>
-<function>Mod1Mask ,</function>
-<function>Mod2Mask ,</function>
-<function>Mod3Mask ,</function>
-<function>Mod4Mask ,</function>
+<function>Button1Mask</function>,
+<function>Button2Mask</function>,
+<function>Button3Mask</function>,
+<function>Button4Mask</function>,
+<function>Button5Mask</function>,
+<function>ShiftMask</function>,
+<function>LockMask</function>,
+<function>ControlMask</function>,
+<function>Mod1Mask</function>,
+<function>Mod2Mask</function>,
+<function>Mod3Mask</function>,
+<function>Mod4Mask</function>,
and
-<function>Mod5Mask .</function>
+<function>Mod5Mask</function>.
</para>
<para>
<!-- .LP -->
@@ -1281,10 +1281,10 @@ and
<function>XButtonReleasedEvent</function>
structures, this member is called button.
It represents the pointer button that changed state and can be the
-<function>Button1 ,</function>
-<function>Button2 ,</function>
-<function>Button3 ,</function>
-<function>Button4 ,</function>
+<function>Button1</function>,
+<function>Button2</function>,
+<function>Button3</function>,
+<function>Button4</function>,
or
<function>Button5 </function>
value.
@@ -1294,7 +1294,7 @@ structure, this member is called is_hint.
It can be set to
<function>NotifyNormal</function>
or
-<function>NotifyHint .</function>
+<function>NotifyHint</function>.
</para>
<para>
<!-- .LP -->
@@ -1423,7 +1423,7 @@ This section describes the processing that
occurs for the window crossing events
<function>EnterNotify</function>
and
-<function>LeaveNotify .</function>
+<function>LeaveNotify</function>.
<indexterm significance="preferred"><primary>EnterNotify</primary></indexterm>
<indexterm significance="preferred"><primary>LeaveNotify</primary></indexterm>
If a pointer motion or a window hierarchy change causes the
@@ -1438,19 +1438,19 @@ and
<function>LeaveNotify</function>
events caused by a hierarchy change are
generated after any hierarchy event
-<function>( UnmapNotify ,</function>
-<function>MapNotify ,</function>
-<function>ConfigureNotify ,</function>
-<function>GravityNotify ,</function>
-<function>CirculateNotify )</function>
+(<function>UnmapNotify</function>,
+<function>MapNotify</function>,
+<function>ConfigureNotify</function>,
+<function>GravityNotify</function>,
+<function>CirculateNotify</function>)
caused by that change;
however, the X protocol does not constrain the ordering of
<function>EnterNotify </function>
and
<function>LeaveNotify </function>
events with respect to
-<function>FocusOut , </function>
-<function>VisibilityNotify ,</function>
+<function>FocusOut</function>,
+<function>VisibilityNotify</function>,
and
<function>Expose </function>
events.
@@ -1468,7 +1468,7 @@ or
event also can be generated when some client application calls
<function>XGrabPointer</function>
and
-<function>XUngrabPointer .</function>
+<function>XUngrabPointer</function>.
</para>
<para>
<!-- .LP -->
@@ -1541,12 +1541,12 @@ event,
if a child of the event window contains the initial position of the pointer,
the subwindow component is set to that child.
Otherwise, the X server sets the subwindow member to
-<function>None .</function>
+<function>None</function>.
For an
<function>EnterNotify </function>
event, if a child of the event window contains the final pointer position,
the subwindow component is set to that child or
-<function>None .</function>
+<function>None</function>.
</para>
<para>
<!-- .LP -->
@@ -1569,12 +1569,12 @@ The same_screen member is set to indicate whether the event window is on the sam
as the root window and can be either
<function>True </function>
or
-<function>False .</function>
+<function>False</function>.
If
-<function>True ,</function>
+<function>True</function>,
the event and root windows are on the same screen.
If
-<function>False ,</function>
+<function>False</function>,
the event and root windows are not on the same screen.
</para>
<para>
@@ -1584,12 +1584,12 @@ inferior of the focus window.
The X server can set this member to either
<function>True </function>
or
-<function>False .</function>
+<function>False</function>.
If
-<function>True ,</function>
+<function>True</function>,
the event window is the focus window or an inferior of the focus window.
If
-<function>False ,</function>
+<function>False</function>,
the event window is not the focus window or an inferior of the focus window.
</para>
<para>
@@ -1599,19 +1599,19 @@ modifier keys just prior to the
event.
The X server can set this member to the bitwise inclusive OR of one
or more of the button or modifier key masks:
-<function>Button1Mask ,</function>
-<function>Button2Mask ,</function>
-<function>Button3Mask ,</function>
-<function>Button4Mask ,</function>
-<function>Button5Mask ,</function>
-<function>ShiftMask ,</function>
-<function>LockMask ,</function>
-<function>ControlMask ,</function>
-<function>Mod1Mask ,</function>
-<function>Mod2Mask ,</function>
-<function>Mod3Mask ,</function>
-<function>Mod4Mask ,</function>
-<function>Mod5Mask .</function>
+<function>Button1Mask</function>,
+<function>Button2Mask</function>,
+<function>Button3Mask</function>,
+<function>Button4Mask</function>,
+<function>Button5Mask</function>,
+<function>ShiftMask</function>,
+<function>LockMask</function>,
+<function>ControlMask</function>,
+<function>Mod1Mask</function>,
+<function>Mod2Mask</function>,
+<function>Mod3Mask</function>,
+<function>Mod4Mask</function>,
+<function>Mod5Mask</function>.
</para>
<para>
<!-- .LP -->
@@ -1619,20 +1619,20 @@ The mode member is set to indicate whether the events are normal events,
pseudo-motion events
when a grab activates, or pseudo-motion events when a grab deactivates.
The X server can set this member to
-<function>NotifyNormal ,</function>
-<function>NotifyGrab ,</function>
+<function>NotifyNormal</function>,
+<function>NotifyGrab</function>,
or
-<function>NotifyUngrab .</function>
+<function>NotifyUngrab</function>.
</para>
<para>
<!-- .LP -->
The detail member is set to indicate the notify detail and can be
-<function>NotifyAncestor ,</function>
-<function>NotifyVirtual ,</function>
-<function>NotifyInferior ,</function>
-<function>NotifyNonlinear ,</function>
+<function>NotifyAncestor</function>,
+<function>NotifyVirtual</function>,
+<function>NotifyInferior</function>,
+<function>NotifyNonlinear</function>,
or
-<function>NotifyNonlinearVirtual .</function>
+<function>NotifyNonlinearVirtual</function>.
</para>
<sect2 id="Normal_Entry_Exit_Events">
<title>Normal Entry/Exit Events</title>
@@ -1651,7 +1651,7 @@ Normal events are identified by
or
<function>XLeaveWindowEvent</function>
structures whose mode member is set to
-<function>NotifyNormal .</function>
+<function>NotifyNormal</function>.
</para>
<itemizedlist>
<listitem>
@@ -1668,7 +1668,7 @@ It generates a
event on window A, with the detail member of the
<function>XLeaveWindowEvent</function>
structure set to
-<function>NotifyAncestor .</function>
+<function>NotifyAncestor</function>.
</para>
</listitem>
<listitem>
@@ -1679,7 +1679,7 @@ event on each window between window A and window B, exclusive,
with the detail member of each
<function>XLeaveWindowEvent</function>
structure set to
-<function>NotifyVirtual .</function>
+<function>NotifyVirtual</function>.
</para>
</listitem>
<listitem>
@@ -1689,7 +1689,7 @@ It generates an
event on window B, with the detail member of the
<function>XEnterWindowEvent</function>
structure set to
-<function>NotifyInferior .</function>
+<function>NotifyInferior</function>.
<!-- .RE -->
</para>
</listitem>
@@ -1708,7 +1708,7 @@ event on window A,
with the detail member of the
<function>XLeaveWindowEvent</function>
structure set to
-<function>NotifyInferior .</function>
+<function>NotifyInferior</function>.
</para>
</listitem>
<listitem>
@@ -1719,7 +1719,7 @@ event on each window between window A and window B, exclusive, with the
detail member of each
<function>XEnterWindowEvent</function>
structure set to
-<function>NotifyVirtual . </function>
+<function>NotifyVirtual</function>.
</para>
</listitem>
<listitem>
@@ -1729,7 +1729,7 @@ It generates an
event on window B, with the detail member of the
<function>XEnterWindowEvent</function>
structure set to
-<function>NotifyAncestor .</function>
+<function>NotifyAncestor</function>.
<!-- .RE -->
</para>
</listitem>
@@ -1749,7 +1749,7 @@ event on window A,
with the detail member of the
<function>XLeaveWindowEvent</function>
structure set to
-<function>NotifyNonlinear .</function>
+<function>NotifyNonlinear</function>.
</para>
</listitem>
<listitem>
@@ -1760,7 +1760,7 @@ event on each window between window A and window C, exclusive,
with the detail member of each
<function>XLeaveWindowEvent</function>
structure set to
-<function>NotifyNonlinearVirtual .</function>
+<function>NotifyNonlinearVirtual</function>.
</para>
</listitem>
<listitem>
@@ -1771,7 +1771,7 @@ event on each window between window C and window B, exclusive,
with the detail member of each
<function>XEnterWindowEvent</function>
structure set to
-<function>NotifyNonlinearVirtual .</function>
+<function>NotifyNonlinearVirtual</function>.
</para>
</listitem>
<listitem>
@@ -1781,7 +1781,7 @@ It generates an
event on window B, with the detail member of the
<function>XEnterWindowEvent</function>
structure set to
-<function>NotifyNonlinear .</function>
+<function>NotifyNonlinear</function>.
<!-- .RE -->
</para>
</listitem>
@@ -1800,7 +1800,7 @@ event on window A,
with the detail member of the
<function>XLeaveWindowEvent</function>
structure set to
-<function>NotifyNonlinear .</function>
+<function>NotifyNonlinear</function>.
</para>
</listitem>
<listitem>
@@ -1812,7 +1812,7 @@ event on each window above window A up to and including its root,
with the detail member of each
<function>XLeaveWindowEvent</function>
structure set to
-<function>NotifyNonlinearVirtual .</function>
+<function>NotifyNonlinearVirtual</function>.
</para>
</listitem>
<listitem>
@@ -1824,7 +1824,7 @@ event on each window from window B's root down to but not including
window B, with the detail member of each
<function>XEnterWindowEvent</function>
structure set to
-<function>NotifyNonlinearVirtual .</function>
+<function>NotifyNonlinearVirtual</function>.
</para>
</listitem>
<listitem>
@@ -1834,7 +1834,7 @@ It generates an
event on window B, with the detail member of the
<function>XEnterWindowEvent</function>
structure set to
-<function>NotifyNonlinear .</function>
+<function>NotifyNonlinear</function>.
<!-- .RE -->
<!-- .\".SH 3 -->
</para>
@@ -1859,7 +1859,7 @@ are identified by
or
<function>XLeaveWindowEvent</function>
structures whose mode member is set to
-<function>NotifyGrab .</function>
+<function>NotifyGrab</function>.
Events in which the pointer grab deactivates
are identified by
<function>XEnterWindowEvent</function>
@@ -1868,7 +1868,7 @@ or
structures whose mode member is set to
<function>NotifyUngrab</function>
(see
-<function>XGrabPointer ).</function>
+<function>XGrabPointer</function>).
</para>
<itemizedlist>
<listitem>
@@ -1895,7 +1895,7 @@ with the mode members of the
and
<function>XLeaveWindowEvent</function>
structures set to
-<function>NotifyGrab .</function>
+<function>NotifyGrab</function>.
These events are generated
as if the pointer were to suddenly warp from
its current position in P to some position in G.
@@ -1927,7 +1927,7 @@ with the mode members of the
and
<function>XLeaveWindowEvent</function>
structures set to
-<function>NotifyUngrab .</function>
+<function>NotifyUngrab</function>.
These events are generated as if the pointer were to suddenly warp from
some position in G to its current position in P.
However, the pointer does not warp, and the X server uses the
@@ -1951,7 +1951,7 @@ initial and final positions for the events.
This section describes the processing that occurs for the input focus events
<function>FocusIn</function>
and
-<function>FocusOut .</function>
+<function>FocusOut</function>.
<indexterm significance="preferred"><primary>FocusIn</primary></indexterm>
<indexterm significance="preferred"><primary>FocusOut</primary></indexterm>
The X server can report
@@ -2021,11 +2021,11 @@ focus events while grabbed,
focus events
when a grab activates, or focus events when a grab deactivates.
The X server can set the mode member to
-<function>NotifyNormal ,</function>
-<function>NotifyWhileGrabbed ,</function>
-<function>NotifyGrab ,</function>
+<function>NotifyNormal</function>,
+<function>NotifyWhileGrabbed</function>,
+<function>NotifyGrab</function>,
or
-<function>NotifyUngrab .</function>
+<function>NotifyUngrab</function>.
</para>
<para>
<!-- .LP -->
@@ -2037,9 +2037,9 @@ event; however, the X protocol does not constrain the ordering of
<function>FocusOut</function>
events with respect to
generated
-<function>EnterNotify ,</function>
-<function>LeaveNotify ,</function>
-<function>VisibilityNotify ,</function>
+<function>EnterNotify</function>,
+<function>LeaveNotify</function>,
+<function>VisibilityNotify</function>,
and
<function>Expose</function>
events.
@@ -2048,15 +2048,15 @@ events.
<!-- .LP -->
Depending on the event mode,
the detail member is set to indicate the notify detail and can be
-<function>NotifyAncestor ,</function>
-<function>NotifyVirtual ,</function>
-<function>NotifyInferior ,</function>
-<function>NotifyNonlinear ,</function>
-<function>NotifyNonlinearVirtual ,</function>
-<function>NotifyPointer ,</function>
-<function>NotifyPointerRoot ,</function>
+<function>NotifyAncestor</function>,
+<function>NotifyVirtual</function>,
+<function>NotifyInferior</function>,
+<function>NotifyNonlinear</function>,
+<function>NotifyNonlinearVirtual</function>,
+<function>NotifyPointer</function>,
+<function>NotifyPointerRoot</function>,
or
-<function>NotifyDetailNone .</function>
+<function>NotifyDetailNone</function>.
</para>
<sect2 id="Normal_Focus_Events_and_Focus_Events_While_Grabbed_">
<title>Normal Focus Events and Focus Events While Grabbed </title>
@@ -2070,13 +2070,13 @@ Normal focus events are identified by
or
<function>XFocusOutEvent</function>
structures whose mode member is set to
-<function>NotifyNormal .</function>
+<function>NotifyNormal</function>.
Focus events while grabbed are identified by
<function>XFocusInEvent</function>
or
<function>XFocusOutEvent</function>
structures whose mode member is set to
-<function>NotifyWhileGrabbed .</function>
+<function>NotifyWhileGrabbed</function>.
The X server processes normal focus and focus events while grabbed according to
the following:
</para>
@@ -2096,7 +2096,7 @@ It generates a
event on window A, with the detail member of the
<function>XFocusOutEvent</function>
structure set to
-<function>NotifyAncestor . </function>
+<function>NotifyAncestor</function>.
</para>
</listitem>
<listitem>
@@ -2107,7 +2107,7 @@ event on each window between window A and window B, exclusive,
with the detail member of each
<function>XFocusOutEvent</function>
structure set to
-<function>NotifyVirtual .</function>
+<function>NotifyVirtual</function>.
</para>
</listitem>
<listitem>
@@ -2117,7 +2117,7 @@ It generates a
event on window B, with the detail member of the
<function>XFocusOutEvent</function>
structure set to
-<function>NotifyInferior .</function>
+<function>NotifyInferior</function>.
</para>
</listitem>
<listitem>
@@ -2130,7 +2130,7 @@ event on each window below window B, down to and including window P,
with the detail member of each
<function>XFocusInEvent</function>
structure set to
-<function>NotifyPointer .</function>
+<function>NotifyPointer</function>.
<!-- .RE -->
</para>
</listitem>
@@ -2152,7 +2152,7 @@ event on each window from window P up to but not including window A,
with the detail member of each
<function>XFocusOutEvent</function>
structure set to
-<function>NotifyPointer .</function>
+<function>NotifyPointer</function>.
</para>
</listitem>
<listitem>
@@ -2163,7 +2163,7 @@ event on window A,
with the detail member of the
<function>XFocusOutEvent</function>
structure set to
-<function>NotifyInferior . </function>
+<function>NotifyInferior</function>.
</para>
</listitem>
<listitem>
@@ -2174,7 +2174,7 @@ event on each window between window A and window B, exclusive, with the
detail member of each
<function>XFocusInEvent</function>
structure set to
-<function>NotifyVirtual . </function>
+<function>NotifyVirtual</function>.
</para>
</listitem>
<listitem>
@@ -2184,7 +2184,7 @@ It generates a
event on window B, with the detail member of the
<function>XFocusInEvent</function>
structure set to
-<function>NotifyAncestor .</function>
+<function>NotifyAncestor</function>.
<!-- .RE -->
</para>
</listitem>
@@ -2206,7 +2206,7 @@ event on each window from window P up to but not including window A,
with the detail member of the
<function>XFocusOutEvent</function>
structure set to
-<function>NotifyPointer .</function>
+<function>NotifyPointer</function>.
</para>
</listitem>
<listitem>
@@ -2217,7 +2217,7 @@ event on window A,
with the detail member of the
<function>XFocusOutEvent</function>
structure set to
-<function>NotifyNonlinear .</function>
+<function>NotifyNonlinear</function>.
</para>
</listitem>
<listitem>
@@ -2228,7 +2228,7 @@ event on each window between window A and window C, exclusive,
with the detail member of each
<function>XFocusOutEvent</function>
structure set to
-<function>NotifyNonlinearVirtual .</function>
+<function>NotifyNonlinearVirtual</function>.
</para>
</listitem>
<listitem>
@@ -2239,7 +2239,7 @@ event on each window between C and B, exclusive,
with the detail member of each
<function>XFocusInEvent</function>
structure set to
-<function>NotifyNonlinearVirtual .</function>
+<function>NotifyNonlinearVirtual</function>.
</para>
</listitem>
<listitem>
@@ -2249,7 +2249,7 @@ It generates a
event on window B, with the detail member of the
<function>XFocusInEvent</function>
structure set to
-<function>NotifyNonlinear .</function>
+<function>NotifyNonlinear</function>.
</para>
</listitem>
<listitem>
@@ -2260,7 +2260,7 @@ event on each window below window B down to and including window P,
with the detail member of the
<function>XFocusInEvent</function>
structure set to
-<function>NotifyPointer .</function>
+<function>NotifyPointer</function>.
<!-- .RE -->
</para>
</listitem>
@@ -2280,7 +2280,7 @@ event on each window from window P up to but not including window A,
with the detail member of each
<function>XFocusOutEvent</function>
structure set to
-<function>NotifyPointer .</function>
+<function>NotifyPointer</function>.
</para>
</listitem>
<listitem>
@@ -2291,7 +2291,7 @@ event on window A,
with the detail member of the
<function>XFocusOutEvent</function>
structure set to
-<function>NotifyNonlinear .</function>
+<function>NotifyNonlinear</function>.
</para>
</listitem>
<listitem>
@@ -2303,7 +2303,7 @@ event on each window above window A up to and including its root,
with the detail member of each
<function>XFocusOutEvent</function>
structure set to
-<function>NotifyNonlinearVirtual .</function>
+<function>NotifyNonlinearVirtual</function>.
</para>
</listitem>
<listitem>
@@ -2315,7 +2315,7 @@ event on each window from window B's root down to but not including
window B, with the detail member of each
<function>XFocusInEvent</function>
structure set to
-<function>NotifyNonlinearVirtual .</function>
+<function>NotifyNonlinearVirtual</function>.
</para>
</listitem>
<listitem>
@@ -2325,7 +2325,7 @@ It generates a
event on window B, with the detail member of each
<function>XFocusInEvent</function>
structure set to
-<function>NotifyNonlinear .</function>
+<function>NotifyNonlinear</function>.
</para>
</listitem>
<listitem>
@@ -2336,7 +2336,7 @@ event on each window below window B down to and including window P,
with the detail member of each
<function>XFocusInEvent</function>
structure set to
-<function>NotifyPointer .</function>
+<function>NotifyPointer</function>.
<!-- .RE -->
</para>
</listitem>
@@ -2360,7 +2360,7 @@ event on each window from window P up to but not including window A,
with the detail member of each
<function>XFocusOutEvent</function>
structure set to
-<function>NotifyPointer .</function>
+<function>NotifyPointer</function>.
</para>
</listitem>
<listitem>
@@ -2370,7 +2370,7 @@ It generates a
event on window A, with the detail member of the
<function>XFocusOutEvent</function>
structure set to
-<function>NotifyNonlinear .</function>
+<function>NotifyNonlinear</function>.
</para>
</listitem>
<listitem>
@@ -2382,7 +2382,7 @@ event on each window above window A up to and including its root,
with the detail member of each
<function>XFocusOutEvent</function>
structure set to
-<function>NotifyNonlinearVirtual .</function>
+<function>NotifyNonlinearVirtual</function>.
</para>
</listitem>
<listitem>
@@ -2394,20 +2394,20 @@ event on the root window of all screens, with the detail member of each
structure set to
<function>NotifyPointerRoot</function>
(or
-<function>NotifyDetailNone ).</function>
+<function>NotifyDetailNone</function>).
</para>
</listitem>
<listitem>
<para>
If the new focus is
-<function>PointerRoot ,</function>
+<function>PointerRoot</function>,
it generates a
<function>FocusIn</function>
event on each window from window P's root down to and including window P,
with the detail member of each
<function>XFocusInEvent</function>
structure set to
-<function>NotifyPointer .</function>
+<function>NotifyPointer</function>.
<!-- .RE -->
</para>
</listitem>
@@ -2426,14 +2426,14 @@ the X server does the following:
<listitem>
<para>
If the old focus is
-<function>PointerRoot ,</function>
+<function>PointerRoot</function>,
it generates a
<function>FocusOut</function>
event on each window from window P up to and including window P's root,
with the detail member of each
<function>XFocusOutEvent</function>
structure set to
-<function>NotifyPointer .</function>
+<function>NotifyPointer</function>.
</para>
</listitem>
<listitem>
@@ -2446,7 +2446,7 @@ with the detail member of each
structure set to
<function>NotifyPointerRoot</function>
(or
-<function>NotifyDetailNone ).</function>
+<function>NotifyDetailNone</function>).
</para>
</listitem>
<listitem>
@@ -2458,7 +2458,7 @@ event on each window from window A's root down to but not including window A,
with the detail member of each
<function>XFocusInEvent</function>
structure set to
-<function>NotifyNonlinearVirtual .</function>
+<function>NotifyNonlinearVirtual</function>.
</para>
</listitem>
<listitem>
@@ -2469,7 +2469,7 @@ event on window A,
with the detail member of the
<function>XFocusInEvent</function>
structure set to
-<function>NotifyNonlinear .</function>
+<function>NotifyNonlinear</function>.
</para>
</listitem>
<listitem>
@@ -2480,7 +2480,7 @@ event on each window below window A down to and including window P,
with the detail member of each
<function>XFocusInEvent</function>
structure set to
-<function>NotifyPointer .</function>
+<function>NotifyPointer</function>.
<!-- .RE -->
</para>
</listitem>
@@ -2499,14 +2499,14 @@ the X server does the following:
<listitem>
<para>
If the old focus is
-<function>PointerRoot ,</function>
+<function>PointerRoot</function>,
it generates a
<function>FocusOut</function>
event on each window from window P up to and including window P's root,
with the detail member of each
<function>XFocusOutEvent</function>
structure set to
-<function>NotifyPointer .</function>
+<function>NotifyPointer</function>.
</para>
</listitem>
<listitem>
@@ -2519,7 +2519,7 @@ with the detail member of each
structure set to either
<function>NotifyPointerRoot</function>
or
-<function>NotifyDetailNone . </function>
+<function>NotifyDetailNone</function>.
</para>
</listitem>
<listitem>
@@ -2532,20 +2532,20 @@ with the detail member of each
structure set to
<function>NotifyDetailNone </function>
or
-<function>NotifyPointerRoot .</function>
+<function>NotifyPointerRoot</function>.
</para>
</listitem>
<listitem>
<para>
If the new focus is
-<function>PointerRoot ,</function>
+<function>PointerRoot</function>,
it generates a
<function>FocusIn</function>
event on each window from window P's root down to and including window P,
with the detail member of each
<function>XFocusInEvent</function>
structure set to
-<function>NotifyPointer .</function>
+<function>NotifyPointer</function>.
<!-- .RE -->
<!-- .\".SH 3 -->
</para>
@@ -2565,7 +2565,7 @@ are identified by
or
<function>XFocusOutEvent</function>
structures whose mode member is set to
-<function>NotifyGrab .</function>
+<function>NotifyGrab</function>.
Focus events in which the keyboard grab deactivates
are identified by
<function>XFocusInEvent</function>
@@ -2574,7 +2574,7 @@ or
structures whose mode member is set to
<function>NotifyUngrab </function>
(see
-<function>XGrabKeyboard ).</function>
+<function>XGrabKeyboard</function>).
</para>
<itemizedlist>
<listitem>
@@ -2598,7 +2598,7 @@ events, with the mode members of the
and
<function>XFocusOutEvent</function>
structures set to
-<function>NotifyGrab .</function>
+<function>NotifyGrab</function>.
These events are generated
as if the focus were to change from
F to G.
@@ -2626,7 +2626,7 @@ events, with the mode members of the
and
<function>XFocusOutEvent</function>
structures set to
-<function>NotifyUngrab .</function>
+<function>NotifyUngrab</function>.
These events are generated
as if the focus were to change from
G to F.
@@ -2738,7 +2738,7 @@ events are not as definite as those for other events.
However, the X server never generates
<function>Expose</function>
events on windows whose class you specified as
-<function>InputOnly .</function>
+<function>InputOnly</function>.
The X server can generate
<function>Expose</function>
events when no valid contents are available for regions of a window
@@ -2749,7 +2749,7 @@ or the window is not viewable but the server is (perhaps newly) honoring the
window's backing-store attribute of
<function>Always</function>
or
-<function>WhenMapped .</function>
+<function>WhenMapped</function>.
The regions decompose into an (arbitrary) set of rectangles,
and an
<function>Expose</function>
@@ -2830,7 +2830,7 @@ events to clients wanting information about when a destination region could not
be computed during certain graphics requests:
<function>XCopyArea</function>
or
-<function>XCopyPlane .</function>
+<function>XCopyPlane</function>.
The X server generates this event whenever a destination region could not be
computed because of an obscured or out-of-bounds source region.
In addition, the X server guarantees to report contiguously all of the regions exposed by
@@ -2861,12 +2861,12 @@ or
<function>NoExpose</function>
events, you must first set the graphics-exposure
attribute of the graphics context to
-<function>True .</function>
+<function>True</function>.
You also can set the graphics-expose attribute when creating a graphics
context using
<function>XCreateGC </function>
or by calling
-<function>XSetGraphicsExposures .</function>
+<function>XSetGraphicsExposures</function>.
</para>
<para>
<!-- .LP -->
@@ -2920,14 +2920,14 @@ The major_code member is set to the graphics request initiated by the client
and can be either
<function>X_CopyArea</function>
or
-<function>X_CopyPlane .</function>
+<function>X_CopyPlane</function>.
If it is
-<function>X_CopyArea ,</function>
+<function>X_CopyArea</function>,
a call to
<function>XCopyArea</function>
initiated the request.
If it is
-<function>X_CopyPlane ,</function>
+<function>X_CopyPlane</function>,
a call to
<function>XCopyPlane</function>
initiated the request.
@@ -3048,10 +3048,10 @@ events to clients wanting information about when a window changes
its position in the stack.
The X server generates this event type whenever a window is actually restacked
as a result of a client application calling
-<function>XCirculateSubwindows ,</function>
-<function>XCirculateSubwindowsUp ,</function>
+<function>XCirculateSubwindows</function>,
+<function>XCirculateSubwindowsUp</function>,
or
-<function>XCirculateSubwindowsDown .</function>
+<function>XCirculateSubwindowsDown</function>.
</para>
<para>
<!-- .LP -->
@@ -3101,12 +3101,12 @@ The place member is set to the window's position after the restack occurs and
is either
<function>PlaceOnTop</function>
or
-<function>PlaceOnBottom .</function>
+<function>PlaceOnBottom</function>.
If it is
-<function>PlaceOnTop ,</function>
+<function>PlaceOnTop</function>,
the window is now on top of all siblings.
If it is
-<function>PlaceOnBottom ,</function>
+<function>PlaceOnBottom</function>,
the window is now below all siblings.
</para>
</sect2>
@@ -3131,47 +3131,47 @@ window requests made by a client application actually completes:
<para>
A window's size, position, border, and/or stacking order is reconfigured
by calling
-<function>XConfigureWindow .</function>
+<function>XConfigureWindow</function>.
</para>
</listitem>
<listitem>
<para>
The window's position in the stacking order is changed by calling
-<function>XLowerWindow ,</function>
-<function>XRaiseWindow ,</function>
+<function>XLowerWindow</function>,
+<function>XRaiseWindow</function>,
or
-<function>XRestackWindows .</function>
+<function>XRestackWindows</function>.
</para>
</listitem>
<listitem>
<para>
A window is moved by calling
-<function>XMoveWindow .</function>
+<function>XMoveWindow</function>.
</para>
</listitem>
<listitem>
<para>
A window's size is changed by calling
-<function>XResizeWindow .</function>
+<function>XResizeWindow</function>.
</para>
</listitem>
<listitem>
<para>
A window's size and location is changed by calling
-<function>XMoveResizeWindow .</function>
+<function>XMoveResizeWindow</function>.
</para>
</listitem>
<listitem>
<para>
A window is mapped and its position in the stacking order is changed
by calling
-<function>XMapRaised .</function>
+<function>XMapRaised</function>.
</para>
</listitem>
<listitem>
<para>
A window's border width is changed by calling
-<function>XSetWindowBorderWidth .</function>
+<function>XSetWindowBorderWidth</function>.
</para>
</listitem>
</itemizedlist>
@@ -3237,7 +3237,7 @@ The border_width member is set to the width of the window's border, in pixels.
The above member is set to the sibling window and is used
for stacking operations.
If the X server sets this member to
-<function>None ,</function>
+<function>None</function>,
the window whose state was changed is on the bottom of the stack
with respect to sibling windows.
However, if this member is set to a sibling window,
@@ -3250,7 +3250,7 @@ window.
Window manager clients normally should ignore this window if the
override_redirect member
is
-<function>True .</function>
+<function>True</function>.
</para>
</sect2>
<sect2 id="CreateNotify_Events">
@@ -3269,7 +3269,7 @@ The X server generates this event whenever a client
application creates a window by calling
<function>XCreateWindow</function>
or
-<function>XCreateSimpleWindow .</function>
+<function>XCreateSimpleWindow</function>.
</para>
<para>
<!-- .LP -->
@@ -3320,7 +3320,7 @@ The override_redirect member is set to the override-redirect attribute of the
window.
Window manager clients normally should ignore this window
if the override_redirect member is
-<function>True .</function>
+<function>True</function>.
</para>
</sect2>
<sect2 id="DestroyNotify_Events">
@@ -3339,7 +3339,7 @@ The X server generates this event whenever a client application destroys a
window by calling
<function>XDestroyWindow</function>
or
-<function>XDestroySubwindows .</function>
+<function>XDestroySubwindows</function>.
</para>
<para>
<!-- .LP -->
@@ -3411,10 +3411,10 @@ events to clients wanting information about when a window is moved because of a
change in the size of its parent.
The X server generates this event whenever a client
application actually moves a child window as a result of resizing its parent by calling
-<function>XConfigureWindow ,</function>
-<function>XMoveResizeWindow ,</function>
+<function>XConfigureWindow</function>,
+<function>XMoveResizeWindow</function>,
or
-<function>XResizeWindow . </function>
+<function>XResizeWindow</function>.
</para>
<para>
<!-- .LP -->
@@ -3480,10 +3480,10 @@ The X server can report
events to clients wanting information about which windows are mapped.
The X server generates this event type whenever a client application changes the
window's state from unmapped to mapped by calling
-<function>XMapWindow ,</function>
-<function>XMapRaised ,</function>
-<function>XMapSubwindows ,</function>
-<function>XReparentWindow ,</function>
+<function>XMapWindow</function>,
+<function>XMapRaised</function>,
+<function>XMapSubwindows</function>,
+<function>XReparentWindow</function>,
or as a result of save-set processing.
</para>
<para>
@@ -3533,7 +3533,7 @@ The override_redirect member is set to the override-redirect attribute
of the window.
Window manager clients normally should ignore this window
if the override-redirect attribute is
-<function>True ,</function>
+<function>True</function>,
because these events usually are generated from pop-ups,
which override structure control.
</para>
@@ -3603,22 +3603,22 @@ typedef struct {
<!-- .eM -->
The request member is set to indicate the kind of mapping change that occurred
and can be
-<function>MappingModifier ,</function>
-<function>MappingKeyboard ,</function>
+<function>MappingModifier</function>,
+<function>MappingKeyboard</function>,
or
-<function>MappingPointer .</function>
+<function>MappingPointer</function>.
If it is
-<function>MappingModifier ,</function>
+<function>MappingModifier</function>,
the modifier mapping was changed.
If it is
-<function>MappingKeyboard ,</function>
+<function>MappingKeyboard</function>,
the keyboard mapping was changed.
If it is
-<function>MappingPointer ,</function>
+<function>MappingPointer</function>,
the pointer button mapping was changed.
The first_keycode and count members are set only
if the request member was set to
-<function>MappingKeyboard .</function>
+<function>MappingKeyboard</function>.
The number in first_keycode represents the first number in the range
of the altered mapping,
and count represents the number of keycodes altered.
@@ -3627,7 +3627,7 @@ and count represents the number of keycodes altered.
<!-- .LP -->
To update the client application's knowledge of the keyboard,
you should call
-<function>XRefreshKeyboardMapping . </function>
+<function>XRefreshKeyboardMapping</function>.
</para>
</sect2>
<sect2 id="ReparentNotify_Events">
@@ -3700,7 +3700,7 @@ The override_redirect member is set to the override-redirect attribute of the
window specified by the window member.
Window manager clients normally should ignore this window
if the override_redirect member is
-<function>True .</function>
+<function>True</function>.
</para>
</sect2>
<sect2 id="UnmapNotify_Events">
@@ -3766,7 +3766,7 @@ The from_configure member is set to
<function>True </function>
if the event was generated as a result of a resizing of the window's parent when
the window itself had a win_gravity of
-<function>UnmapGravity .</function>
+<function>UnmapGravity</function>.
</para>
</sect2>
<sect2 id="VisibilityNotify_Events">
@@ -3785,7 +3785,7 @@ A region of a window is visible if someone looking at the screen can
actually see it.
The X server generates this event whenever the visibility changes state.
However, this event is never generated for windows whose class is
-<function>InputOnly .</function>
+<function>InputOnly</function>.
</para>
<para>
<!-- .LP -->
@@ -3793,11 +3793,11 @@ All
<function>VisibilityNotify</function>
events caused by a hierarchy change are generated
after any hierarchy event
-<function>( UnmapNotify , </function>
-<function>MapNotify , </function>
-<function>ConfigureNotify ,</function>
-<function>GravityNotify ,</function>
-<function>CirculateNotify )</function>
+(<function>UnmapNotify</function>,
+<function>MapNotify</function>,
+<function>ConfigureNotify</function>,
+<function>GravityNotify</function>,
+<function>CirculateNotify</function>)
caused by that change. Any
<function>VisibilityNotify</function>
event on a given window is generated before any
@@ -3811,8 +3811,8 @@ The X protocol does not constrain the ordering of
<function>VisibilityNotify</function>
events with
respect to
-<function>FocusOut , </function>
-<function>EnterNotify ,</function>
+<function>FocusOut</function>,
+<function>EnterNotify</function>,
and
<function>LeaveNotify</function>
events.
@@ -3851,10 +3851,10 @@ typedef struct {
<!-- .eM -->
The window member is set to the window whose visibility state changes.
The state member is set to the state of the window's visibility and can be
-<function>VisibilityUnobscured ,</function>
-<function>VisibilityPartiallyObscured ,</function>
+<function>VisibilityUnobscured</function>,
+<function>VisibilityPartiallyObscured</function>,
or
-<function>VisibilityFullyObscured .</function>
+<function>VisibilityFullyObscured</function>.
The X server ignores all of a window's subwindows
when determining the visibility state of the window and processes
<function>VisibilityNotify</function>
@@ -3868,7 +3868,7 @@ or not viewable to viewable and completely unobscured,
the X server generates the event with the state member of the
<function>XVisibilityEvent</function>
structure set to
-<function>VisibilityUnobscured .</function>
+<function>VisibilityUnobscured</function>.
</para>
</listitem>
<listitem>
@@ -3878,7 +3878,7 @@ not viewable to viewable and partially obscured,
the X server generates the event with the state member of the
<function>XVisibilityEvent</function>
structure set to
-<function>VisibilityPartiallyObscured .</function>
+<function>VisibilityPartiallyObscured</function>.
</para>
</listitem>
<listitem>
@@ -3889,7 +3889,7 @@ fully obscured,
the X server generates the event with the state member of the
<function>XVisibilityEvent</function>
structure set to
-<function>VisibilityFullyObscured .</function>
+<function>VisibilityFullyObscured</function>.
</para>
</listitem>
</itemizedlist>
@@ -3947,10 +3947,10 @@ on a specified window.
The X server generates this event type whenever a client initiates a circulate
window request on a window and a subwindow actually needs to be restacked.
The client initiates a circulate window request on the window by calling
-<function>XCirculateSubwindows ,</function>
-<function>XCirculateSubwindowsUp ,</function>
+<function>XCirculateSubwindows</function>,
+<function>XCirculateSubwindowsUp</function>,
or
-<function>XCirculateSubwindowsDown .</function>
+<function>XCirculateSubwindowsDown</function>.
</para>
<para>
<!-- .LP -->
@@ -4002,12 +4002,12 @@ The place member is set to what the new position in the stacking order should be
and is either
<function>PlaceOnTop</function>
or
-<function>PlaceOnBottom .</function>
+<function>PlaceOnBottom</function>.
If it is
-<function>PlaceOnTop ,</function>
+<function>PlaceOnTop</function>,
the subwindow should be on top of all siblings.
If it is
-<function>PlaceOnBottom ,</function>
+<function>PlaceOnBottom</function>,
the subwindow should be below all siblings.
</para>
</sect2>
@@ -4028,16 +4028,16 @@ The configure window request attempts to
reconfigure a window's size, position, border, and stacking order.
The X server generates this event whenever a different client initiates
a configure window request on a window by calling
-<function>XConfigureWindow ,</function>
-<function>XLowerWindow ,</function>
-<function>XRaiseWindow ,</function>
-<function>XMapRaised ,</function>
-<function>XMoveResizeWindow ,</function>
-<function>XMoveWindow ,</function>
-<function>XResizeWindow ,</function>
-<function>XRestackWindows ,</function>
+<function>XConfigureWindow</function>,
+<function>XLowerWindow</function>,
+<function>XRaiseWindow</function>,
+<function>XMapRaised</function>,
+<function>XMoveResizeWindow</function>,
+<function>XMoveWindow</function>,
+<function>XResizeWindow</function>,
+<function>XRestackWindows</function>,
or
-<function>XSetWindowBorderWidth .</function>
+<function>XSetWindowBorderWidth</function>.
</para>
<para>
<!-- .LP -->
@@ -4057,7 +4057,7 @@ If you had selected
<function>SubstructureRedirectMask </function>
on the parent window and if the override-redirect attribute
of the window is set to
-<function>False ,</function>
+<function>False</function>,
the X server reports a
<function>ConfigureRequest</function>
event to you and does not lower the specified window.
@@ -4104,7 +4104,7 @@ except in the case of above (sibling) and detail (stack-mode),
which are reported as
<function>None</function>
and
-<function>Above ,</function>
+<function>Above</function>,
respectively, if they are not given in the request.
</para>
</sect2>
@@ -4125,12 +4125,12 @@ A window is considered mapped when a map window request completes.
The X server generates this event whenever a different client initiates
a map window request on an unmapped window whose override_redirect member
is set to
-<function>False .</function>
+<function>False</function>.
Clients initiate map window requests by calling
-<function>XMapWindow ,</function>
-<function>XMapRaised ,</function>
+<function>XMapWindow</function>,
+<function>XMapRaised</function>,
or
-<function>XMapSubwindows .</function>
+<function>XMapSubwindows</function>.
</para>
<para>
<!-- .LP -->
@@ -4150,7 +4150,7 @@ If you (usually a window manager) had selected
<function>SubstructureRedirectMask </function>
on the parent window and if the override-redirect attribute
of the window is set to
-<function>False ,</function>
+<function>False</function>,
the X server reports a
<function>MapRequest</function>
event to you
@@ -4201,10 +4201,10 @@ events to clients wanting information about another client's attempts to change
size of a window.
The X server generates this event whenever some other client attempts to change
the size of the specified window by calling
-<function>XConfigureWindow ,</function>
-<function>XResizeWindow ,</function>
+<function>XConfigureWindow</function>,
+<function>XResizeWindow</function>,
or
-<function>XMoveResizeWindow .</function>
+<function>XMoveResizeWindow</function>.
</para>
<para>
<!-- .LP -->
@@ -4268,8 +4268,8 @@ Changes the colormap member of the
<function>XSetWindowAttributes</function>
structure by
calling
-<function>XChangeWindowAttributes ,</function>
-<function>XFreeColormap ,</function>
+<function>XChangeWindowAttributes</function>,
+<function>XFreeColormap</function>,
or
<function>XSetWindowColormap </function>
</para>
@@ -4322,26 +4322,26 @@ colormap is changed, installed, or uninstalled.
For a colormap that is changed, installed, or uninstalled,
the colormap member is set to the colormap associated with the window.
For a colormap that is changed by a call to
-<function>XFreeColormap ,</function>
+<function>XFreeColormap</function>,
the colormap member is set to
-<function>None .</function>
+<function>None</function>.
The new member is set to indicate whether the colormap
for the specified window was changed or installed or uninstalled
and can be
<function>True</function>
or
-<function>False .</function>
+<function>False</function>.
If it is
-<function>True ,</function>
+<function>True</function>,
the colormap was changed.
If it is
-<function>False ,</function>
+<function>False</function>,
the colormap was installed or uninstalled.
The state member is always set to indicate whether the colormap is installed or
uninstalled and can be
<function>ColormapInstalled</function>
or
-<function>ColormapUninstalled .</function>
+<function>ColormapUninstalled</function>.
</para>
</sect1>
<sect1 id="Client_Communication_Events">
@@ -4397,7 +4397,7 @@ events
The X server generates
<function>ClientMessage</function>
events only when a client calls the function
-<function>XSendEvent .</function>
+<function>XSendEvent</function>.
</para>
<para>
<!-- .LP -->
@@ -4498,7 +4498,7 @@ The state member is set to indicate whether the property was changed
to a new value or deleted and can be
<function>PropertyNewValue</function>
or
-<function>PropertyDelete .</function>
+<function>PropertyDelete</function>.
The state member is set to
<function>PropertyNewValue</function>
when a property of the window is changed using
@@ -4506,18 +4506,18 @@ when a property of the window is changed using
or
<function>XRotateWindowProperties</function>
(even when adding zero-length data using
-<function>XChangeProperty )</function>
+<function>XChangeProperty</function>)
and when replacing all or part of a property with identical data using
<function>XChangeProperty</function>
or
-<function>XRotateWindowProperties .</function>
+<function>XRotateWindowProperties</function>.
The state member is set to
<function>PropertyDelete</function>
when a property of the window is deleted using
<function>XDeleteProperty</function>
or, if the delete argument is
-<function>True ,</function>
-<function>XGetWindowProperty .</function>
+<function>True</function>,
+<function>XGetWindowProperty</function>.
</para>
</sect2>
<sect2 id="SelectionClear_Events">
@@ -4534,7 +4534,7 @@ The X server reports
events to the client losing ownership of a selection.
The X server generates this event type when another client
asserts ownership of the selection by calling
-<function>XSetSelectionOwner .</function>
+<function>XSetSelectionOwner</function>.
</para>
<para>
<!-- .LP -->
@@ -4625,7 +4625,7 @@ For example, PRIMARY is used to indicate the primary selection.
The target member is set to the atom that indicates the type
the selection is desired in.
The property member can be a property name or
-<function>None .</function>
+<function>None</function>.
The time member is set to the timestamp or
<function>CurrentTime </function>
value from the
@@ -4656,12 +4656,12 @@ This event is generated by the X server in response to a
protocol request when there is no owner for the selection.
When there is an owner, it should be generated by the owner
of the selection by using
-<function>XSendEvent .</function>
+<function>XSendEvent</function>.
The owner of a selection should send this event to a requestor when a selection
has been converted and stored as a property
or when a selection conversion could
not be performed (which is indicated by setting the property member to
-<function>None ).</function>
+<function>None</function>).
</para>
<para>
<!-- .LP -->
@@ -4712,10 +4712,10 @@ The property member is set to the atom that indicates which
property the result was stored on.
If the conversion failed,
the property member is set to
-<function>None .</function>
+<function>None</function>.
The time member is set to the time the conversion took place and
can be a timestamp or
-<function>CurrentTime .</function>
+<function>CurrentTime</function>.
<!-- .bp -->
diff --git a/specs/libX11/CH11.xml b/specs/libX11/CH11.xml
index 9ab88c4..a92ba63 100644
--- a/specs/libX11/CH11.xml
+++ b/specs/libX11/CH11.xml
@@ -37,9 +37,9 @@ One way is to set the event_mask member of the
structure when you call
<function>XCreateWindow</function>
and
-<function>XChangeWindowAttributes .</function>
+<function>XChangeWindowAttributes</function>.
Another way is to use
-<function>XSelectInput . </function>
+<function>XSelectInput</function>.
<indexterm significance="preferred"><primary>XSelectInput</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -118,13 +118,13 @@ to all interested clients.
<listitem>
<para>
Only one client at a time can select
-<function>CirculateRequest ,</function>
-<function>ConfigureRequest ,</function>
+<function>CirculateRequest</function>,
+<function>ConfigureRequest</function>,
or
<function>MapRequest</function>
events, which are associated with
the event mask
-<function>SubstructureRedirectMask . </function>
+<function>SubstructureRedirectMask</function>.
</para>
</listitem>
<listitem>
@@ -134,7 +134,7 @@ a
<function>ResizeRequest</function>
event, which is associated with
the event mask
-<function>ResizeRedirectMask . </function>
+<function>ResizeRedirectMask</function>.
</para>
</listitem>
<listitem>
@@ -143,7 +143,7 @@ Only one client at a time can select a
<function>ButtonPress </function>
event, which is associated with
the event mask
-<function>ButtonPressMask .</function>
+<function>ButtonPressMask</function>.
</para>
</listitem>
</itemizedlist>
@@ -177,7 +177,7 @@ These functions differ in the additional tasks they might perform.
<!-- .LP -->
<!-- .sp -->
To flush the output buffer, use
-<function>XFlush .</function>
+<function>XFlush</function>.
<indexterm significance="preferred"><primary>XFlush</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -209,10 +209,10 @@ function
flushes the output buffer.
Most client applications need not use this function because the output
buffer is automatically flushed as needed by calls to
-<function>XPending ,</function>
-<function>XNextEvent ,</function>
+<function>XPending</function>,
+<function>XNextEvent</function>,
and
-<function>XWindowEvent .</function>
+<function>XWindowEvent</function>.
<indexterm><primary>XPending</primary></indexterm>
<indexterm><primary>XNextEvent</primary></indexterm>
<indexterm><primary>XWindowEvent</primary></indexterm>
@@ -223,7 +223,7 @@ Events generated by the server may be enqueued into the library's event queue.
<!-- .sp -->
To flush the output buffer and then wait until all requests have been processed,
use
-<function>XSync .</function>
+<function>XSync</function>.
<indexterm significance="preferred"><primary>XSync</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -277,18 +277,18 @@ event queue.
<para>
<!-- .LP -->
Finally, if you passed
-<function>False ,</function>
+<function>False</function>,
<function>XSync</function>
does not discard the events in the queue.
If you passed
-<function>True ,</function>
+<function>True</function>,
<function>XSync </function>
discards all events in the queue,
including those events that were on the queue before
<function>XSync</function>
was called.
Client applications seldom need to call
-<function>XSync .</function>
+<function>XSync</function>.
</para>
</sect1>
<sect1 id="Event_Queue_Management">
@@ -306,7 +306,7 @@ in its network connection that is not yet read into the event queue.
<!-- .LP -->
<!-- .sp -->
To check the number of events in the event queue, use
-<function>XEventsQueued .</function>
+<function>XEventsQueued</function>.
<indexterm significance="preferred"><primary>XEventsQueued</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -336,10 +336,10 @@ Specifies the connection to the X server.
<para>
Specifies the mode.
You can pass
-<function>QueuedAlready ,</function>
-<function>QueuedAfterFlush ,</function>
+<function>QueuedAlready</function>,
+<function>QueuedAfterFlush</function>,
or
-<function>QueuedAfterReading .</function>
+<function>QueuedAfterReading</function>.
</para>
</listitem>
</varlistentry>
@@ -349,12 +349,12 @@ or
<!-- .LP -->
<!-- .eM -->
If mode is
-<function>QueuedAlready ,</function>
+<function>QueuedAlready</function>,
<function>XEventsQueued </function>
returns the number of events
already in the event queue (and never performs a system call).
If mode is
-<function>QueuedAfterFlush , </function>
+<function>QueuedAfterFlush</function>,
<function>XEventsQueued</function>
returns the number of events already in the queue if the number is nonzero.
If there are no events in the queue,
@@ -363,7 +363,7 @@ flushes the output buffer,
attempts to read more events out of the application's connection,
and returns the number read.
If mode is
-<function>QueuedAfterReading , </function>
+<function>QueuedAfterReading</function>,
<function>XEventsQueued</function>
returns the number of events already in the queue if the number is nonzero.
If there are no events in the queue,
@@ -380,7 +380,7 @@ queue.
with mode
<function>QueuedAfterFlush</function>
is identical in behavior to
-<function>XPending .</function>
+<function>XPending</function>.
<function>XEventsQueued</function>
with mode
<function>QueuedAlready</function>
@@ -392,7 +392,7 @@ function.
<!-- .LP -->
<!-- .sp -->
To return the number of events that are pending, use
-<function>XPending .</function>
+<function>XPending</function>.
<indexterm significance="preferred"><primary>XPending</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -466,7 +466,7 @@ predicate procedures that you provide
<para>
<!-- .LP -->
To get the next event and remove it from the queue, use
-<function>XNextEvent .</function>
+<function>XNextEvent</function>.
<indexterm significance="preferred"><primary>XNextEvent</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -516,7 +516,7 @@ flushes the output buffer and blocks until an event is received.
<!-- .LP -->
<!-- .sp -->
To peek at the event queue, use
-<function>XPeekEvent .</function>
+<function>XPeekEvent</function>.
<indexterm significance="preferred"><primary>XPeekEvent</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -583,7 +583,7 @@ If Xlib has been initialized for threads, the predicate is called with
the display locked and the result of a call by the predicate to any
Xlib function that locks the display is not defined unless the caller
has first called
-<function>XLockDisplay .</function>
+<function>XLockDisplay</function>.
</para>
<para>
<!-- .LP -->
@@ -628,8 +628,8 @@ structure.
<listitem>
<para>
Specifies the argument passed in from the
-<function>XIfEvent ,</function>
-<function>XCheckIfEvent ,</function>
+<function>XIfEvent</function>,
+<function>XCheckIfEvent</function>,
or
<function>XPeekIfEvent </function>
function.
@@ -644,16 +644,16 @@ function.
The predicate procedure is called once for each
event in the queue until it finds a match.
After finding a match, the predicate procedure must return
-<function>True .</function>
+<function>True</function>.
If it did not find a match, it must return
-<function>False .</function>
+<function>False</function>.
</para>
<para>
<!-- .LP -->
<!-- .sp -->
To check the event queue for a matching event
and, if found, remove the event from the queue, use
-<function>XIfEvent .</function>
+<function>XIfEvent</function>.
<indexterm significance="preferred"><primary>XIfEvent</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -732,7 +732,7 @@ structure.
<!-- .LP -->
<!-- .sp -->
To check the event queue for a matching event without blocking, use
-<function>XCheckIfEvent .</function>
+<function>XCheckIfEvent</function>.
<indexterm significance="preferred"><primary>XCheckIfEvent</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -797,12 +797,12 @@ When the predicate procedure finds a match,
copies the matched event into the client-supplied
<function>XEvent</function>
structure and returns
-<function>True .</function>
+<function>True</function>.
(This event is removed from the queue.)
If the predicate procedure finds no match,
<function>XCheckIfEvent</function>
returns
-<function>False ,</function>
+<function>False</function>,
and the output buffer will have been flushed.
All earlier events stored in the queue are not discarded.
</para>
@@ -811,7 +811,7 @@ All earlier events stored in the queue are not discarded.
<!-- .sp -->
To check the event queue for a matching event
without removing the event from the queue, use
-<function>XPeekIfEvent .</function>
+<function>XPeekIfEvent</function>.
<indexterm significance="preferred"><primary>XPeekIfEvent</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -900,7 +900,7 @@ or event types, allowing you to process events out of order.
<!-- .LP -->
<!-- .sp -->
To remove the next event that matches both a window and an event mask, use
-<function>XWindowEvent .</function>
+<function>XWindowEvent</function>.
<indexterm significance="preferred"><primary>XWindowEvent</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -979,7 +979,7 @@ flushes the output buffer and blocks until one is received.
<!-- .sp -->
To remove the next event that matches both a window and an event mask (if any),
use
-<function>XCheckWindowEvent .</function>
+<function>XCheckWindowEvent</function>.
<indexterm><primary>XCheckWindowEvent</primary></indexterm>
This function is similar to
<function>XWindowEvent </function>
@@ -1055,19 +1055,19 @@ If it finds a match,
removes that event, copies it into the specified
<function>XEvent</function>
structure, and returns
-<function>True .</function>
+<function>True</function>.
The other events stored in the queue are not discarded.
If the event you requested is not available,
<function>XCheckWindowEvent</function>
returns
-<function>False ,</function>
+<function>False</function>,
and the output buffer will have been flushed.
</para>
<para>
<!-- .LP -->
<!-- .sp -->
To remove the next event that matches an event mask, use
-<function>XMaskEvent .</function>
+<function>XMaskEvent</function>.
<indexterm significance="preferred"><primary>XMaskEvent</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1133,7 +1133,7 @@ flushes the output buffer and blocks until one is received.
<!-- .LP -->
<!-- .sp -->
To return and remove the next event that matches an event mask (if any), use
-<function>XCheckMaskEvent .</function>
+<function>XCheckMaskEvent</function>.
This function is similar to
<function>XMaskEvent </function>
except that it never blocks and it returns a
@@ -1195,19 +1195,19 @@ If it finds a match,
removes that event, copies it into the specified
<function>XEvent</function>
structure, and returns
-<function>True .</function>
+<function>True</function>.
The other events stored in the queue are not discarded.
If the event you requested is not available,
<function>XCheckMaskEvent</function>
returns
-<function>False ,</function>
+<function>False</function>,
and the output buffer will have been flushed.
</para>
<para>
<!-- .LP -->
<!-- .sp -->
To return and remove the next event in the queue that matches an event type, use
-<function>XCheckTypedEvent .</function>
+<function>XCheckTypedEvent</function>.
<indexterm significance="preferred"><primary>XCheckTypedEvent</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1265,12 +1265,12 @@ If it finds a match,
removes that event, copies it into the specified
<function>XEvent</function>
structure, and returns
-<function>True .</function>
+<function>True</function>.
The other events in the queue are not discarded.
If the event is not available,
<function>XCheckTypedEvent</function>
returns
-<function>False ,</function>
+<function>False</function>,
and the output buffer will have been flushed.
</para>
<para>
@@ -1278,7 +1278,7 @@ and the output buffer will have been flushed.
<!-- .sp -->
To return and remove the next event in the queue that matches an event type
and a window, use
-<function>XCheckTypedWindowEvent .</function>
+<function>XCheckTypedWindowEvent</function>.
<indexterm significance="preferred"><primary>XCheckTypedWindowEvent</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1348,12 +1348,12 @@ If it finds a match,
removes the event from the queue, copies it into the specified
<function>XEvent</function>
structure, and returns
-<function>True .</function>
+<function>True</function>.
The other events in the queue are not discarded.
If the event is not available,
<function>XCheckTypedWindowEvent</function>
returns
-<function>False ,</function>
+<function>False</function>,
and the output buffer will have been flushed.
</para>
</sect2>
@@ -1366,7 +1366,7 @@ and the output buffer will have been flushed.
<para>
<!-- .LP -->
To push an event back into the event queue, use
-<function>XPutBackEvent .</function>
+<function>XPutBackEvent</function>.
<indexterm significance="preferred"><primary>XPutBackEvent</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1410,7 +1410,7 @@ by copying the event into the queue.
This can be useful if you read an event and then decide that you
would rather deal with it later.
There is no limit to the number of times in succession that you can call
-<function>XPutBackEvent .</function>
+<function>XPutBackEvent</function>.
</para>
</sect1>
<sect1 id="Sending_Events_to_Other_Applications">
@@ -1421,7 +1421,7 @@ There is no limit to the number of times in succession that you can call
<para>
<!-- .LP -->
To send an event to a specified window, use
-<function>XSendEvent .</function>
+<function>XSendEvent</function>.
<indexterm><primary>XSendEvent</primary></indexterm>
This function is often used in selection processing.
For example, the owner of a selection should use
@@ -1461,9 +1461,9 @@ Specifies the connection to the X server.
<listitem>
<para>
Specifies the window the event is to be sent to, or
-<function>PointerWindow ,</function>
+<function>PointerWindow</function>,
or
-<function>InputFocus .</function>
+<function>InputFocus</function>.
</para>
</listitem>
</varlistentry>
@@ -1516,7 +1516,7 @@ This function uses the w argument to identify the destination window as follows:
<listitem>
<para>
If w is
-<function>PointerWindow ,</function>
+<function>PointerWindow</function>,
the destination window is the window that contains the pointer.
</para>
</listitem>
@@ -1548,7 +1548,7 @@ no event is sent.
<listitem>
<para>
If propagate is
-<function>False ,</function>
+<function>False</function>,
the event is sent to every client selecting on destination any of the event
types in the event_mask argument.
</para>
@@ -1587,7 +1587,7 @@ otherwise unaltered and unchecked by the X server except to force send_event to
in the forwarded event and to set the serial number in the event correctly;
therefore these fields
and the display field are ignored by
-<function>XSendEvent .</function>
+<function>XSendEvent</function>.
</para>
<para>
<!-- .LP -->
@@ -1627,7 +1627,7 @@ However, this historical information is highly excessive for most applications.
<!-- .sp -->
To determine the approximate maximum number of elements in the motion buffer,
use
-<function>XDisplayMotionBufferSize .</function>
+<function>XDisplayMotionBufferSize</function>.
<indexterm significance="preferred"><primary>XDisplayMotionBufferSize</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1665,7 +1665,7 @@ function makes this history available.
<!-- .LP -->
<!-- .sp -->
To get the motion history for a specified window and time, use
-<function>XGetMotionEvents .</function>
+<function>XGetMotionEvents</function>.
<indexterm significance="preferred"><primary>XGetMotionEvents</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1719,7 +1719,7 @@ Specifies the window.
Specify the time interval in which the events are returned from the motion
history buffer.
You can pass a timestamp or
-<function>CurrentTime .</function>
+<function>CurrentTime</function>.
</para>
</listitem>
</varlistentry>
@@ -1751,7 +1751,7 @@ no events are returned;
<function>XGetMotionEvents</function>
returns NULL.
If the stop time is in the future, it is equivalent to specifying
-<function>CurrentTime .</function>
+<function>CurrentTime</function>.
The return type for this function is a structure defined as follows:
</para>
<para>
@@ -1775,7 +1775,7 @@ The x and y members are set to the coordinates of the pointer and
are reported relative to the origin
of the specified window.
To free the data returned from this call, use
-<function>XFree .</function>
+<function>XFree</function>.
</para>
<para>
<!-- .LP -->
@@ -1865,7 +1865,7 @@ returns the previous after function.
<para>
<!-- .LP -->
To enable or disable synchronization, use
-<function>XSynchronize .</function>
+<function>XSynchronize</function>.
<indexterm><primary>Debugging</primary><secondary>synchronous mode</secondary></indexterm>
<indexterm significance="preferred"><primary>XSynchronize</primary></indexterm>
<!-- .sM -->
@@ -1909,11 +1909,11 @@ The
function returns
the previous after function.
If onoff is
-<function>True , </function>
+<function>True</function>,
<function>XSynchronize</function>
turns on synchronous behavior.
If onoff is
-<function>False ,</function>
+<function>False</function>,
<function>XSynchronize </function>
turns off synchronous behavior.
</para>
@@ -1942,7 +1942,7 @@ message and exit.
<!-- .LP -->
<!-- .sp -->
To set the error handler, use
-<function>XSetErrorHandler .</function>
+<function>XSetErrorHandler</function>.
<indexterm significance="preferred"><primary>XSetErrorHandler</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1973,8 +1973,8 @@ supplied error handler whenever an error is received.
It is not called on
<function>BadName</function>
errors from
-<function>OpenFont ,</function>
-<function>LookupColor ,</function>
+<function>OpenFont</function>,
+<function>LookupColor</function>,
or
<function>AllocNamedColor</function>
protocol requests or on
@@ -2114,14 +2114,14 @@ chapter:
<row>
<entry><function>BadFont</function></entry>
<entry>A value for a font argument does not name a defined font (or, in some cases,
- <function>GContext ).</function></entry>
+ <function>GContext</function>).</entry>
</row>
<row>
<entry><function>BadGC</function></entry>
<entry>A value for a
<function>GContext </function>
argument does not name a defined
- <function>GContext .</function></entry>
+ <function>GContext</function>.</entry>
</row>
<row>
<entry><function>BadIDChoice</function></entry>
@@ -2212,13 +2212,13 @@ chapter:
<note>
<para>
The
-<function>BadAtom , </function>
-<function>BadColor , </function>
-<function>BadCursor , </function>
-<function>BadDrawable , </function>
-<function>BadFont , </function>
-<function>BadGC , </function>
-<function>BadPixmap , </function>
+<function>BadAtom</function>,
+<function>BadColor</function>,
+<function>BadCursor</function>,
+<function>BadDrawable</function>,
+<function>BadFont</function>,
+<function>BadGC</function>,
+<function>BadPixmap</function>,
and
<function>BadWindow</function>
errors are also used when the argument type is extended by a set of
@@ -2231,7 +2231,7 @@ fixed alternatives.
<para>
<!-- .LP -->
To obtain textual descriptions of the specified error code, use
-<function>XGetErrorText .</function>
+<function>XGetErrorText</function>.
<indexterm significance="preferred"><primary>XGetErrorText</primary></indexterm>
<indexterm><primary>Debugging</primary><secondary>error message strings</secondary></indexterm>
<!-- .sM -->
@@ -2304,7 +2304,7 @@ and error strings.
<!-- .LP -->
<!-- .sp -->
To obtain error messages from the error database, use
-<function>XGetErrorDatabaseText .</function>
+<function>XGetErrorDatabaseText</function>.
<indexterm significance="preferred"><primary>XGetErrorDatabaseText</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2435,7 +2435,7 @@ For a core protocol request,
the major request protocol number is used for the message argument.
For an extension request,
the extension name (as given by
-<function>InitExtension )</function>
+<function>InitExtension</function>)
followed by a period (\.) and the minor request protocol number
is used for the message argument.
If no string is found in the error database,
@@ -2449,7 +2449,7 @@ the default_string is returned to the buffer argument.
<!-- .LP -->
<!-- .sp -->
To report an error to the user when the requested display does not exist, use
-<function>XDisplayName .</function>
+<function>XDisplayName</function>.
<indexterm significance="preferred"><primary>XDisplayName</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2492,7 +2492,7 @@ program attempted to open when the initial connection attempt failed.
<!-- .LP -->
<!-- .sp -->
To handle fatal I/O errors, use
-<function>XSetIOErrorHandler .</function>
+<function>XSetIOErrorHandler</function>.
<indexterm significance="preferred"><primary>XSetIOErrorHandler</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
diff --git a/specs/libX11/CH12.xml b/specs/libX11/CH12.xml
index 961f2e4..6c87027 100644
--- a/specs/libX11/CH12.xml
+++ b/specs/libX11/CH12.xml
@@ -44,7 +44,7 @@ further mouse and keyboard events will continue to be processed.
If the keyboard or pointer is in synchronous mode, no
further events are processed until the grabbing client
allows them (see
-<function>XAllowEvents ).</function>
+<function>XAllowEvents</function>).
The keyboard or pointer is considered frozen during this
interval.
The event that triggered the grab can also be replayed.
@@ -63,7 +63,7 @@ An active grab occurs when a single client grabs the keyboard and/or pointer
explicitly (see
<function>XGrabPointer</function>
and
-<function>XGrabKeyboard ).</function>
+<function>XGrabKeyboard</function>).
<indexterm><primary>Passive grab</primary></indexterm>
A passive grab occurs when clients grab a particular keyboard key
or pointer button in a window,
@@ -87,7 +87,7 @@ The X server includes a timestamp in various events.
One special time, called
<indexterm significance="preferred"><primary>CurrentTime</primary></indexterm>
<indexterm significance="preferred"><primary>Time</primary></indexterm>
-<function>CurrentTime ,</function>
+<function>CurrentTime</function>,
represents the current server time.
The X server maintains the time when the input focus was last changed,
when the keyboard was last grabbed,
@@ -111,7 +111,7 @@ The server, given its current time is represented by timestamp T,
always interprets timestamps from clients by treating half of the timestamp
space as being later in time than T.
One timestamp value, named
-<function>CurrentTime ,</function>
+<function>CurrentTime</function>,
is never generated by the server.
This value is reserved for use in requests to represent the current server time.
</para>
@@ -120,38 +120,38 @@ This value is reserved for use in requests to represent the current server time.
For many functions in this section,
you pass pointer event mask bits.
The valid pointer event mask bits are:
-<function>ButtonPressMask ,</function>
-<function>ButtonReleaseMask ,</function>
-<function>EnterWindowMask ,</function>
-<function>LeaveWindowMask ,</function>
-<function>PointerMotionMask ,</function>
-<function>PointerMotionHintMask ,</function>
-<function>Button1MotionMask ,</function>
-<function>Button2MotionMask ,</function>
-<function>Button3MotionMask ,</function>
-<function>Button4MotionMask ,</function>
-<function>Button5MotionMask ,</function>
-<function>ButtonMotionMask ,</function>
+<function>ButtonPressMask</function>,
+<function>ButtonReleaseMask</function>,
+<function>EnterWindowMask</function>,
+<function>LeaveWindowMask</function>,
+<function>PointerMotionMask</function>,
+<function>PointerMotionHintMask</function>,
+<function>Button1MotionMask</function>,
+<function>Button2MotionMask</function>,
+<function>Button3MotionMask</function>,
+<function>Button4MotionMask</function>,
+<function>Button5MotionMask</function>,
+<function>ButtonMotionMask</function>,
and
-<function>KeyMapStateMask .</function>
+<function>KeyMapStateMask</function>.
For other functions in this section,
you pass keymask bits.
The valid keymask bits are:
-<function>ShiftMask ,</function>
-<function>LockMask ,</function>
-<function>ControlMask ,</function>
-<function>Mod1Mask ,</function>
-<function>Mod2Mask ,</function>
-<function>Mod3Mask ,</function>
-<function>Mod4Mask ,</function>
+<function>ShiftMask</function>,
+<function>LockMask</function>,
+<function>ControlMask</function>,
+<function>Mod1Mask</function>,
+<function>Mod2Mask</function>,
+<function>Mod3Mask</function>,
+<function>Mod4Mask</function>,
and
-<function>Mod5Mask .</function>
+<function>Mod5Mask</function>.
</para>
<para>
<!-- .LP -->
<!-- .sp -->
To grab the pointer, use
-<function>XGrabPointer .</function>
+<function>XGrabPointer</function>.
<indexterm><primary>Grabbing</primary><secondary>pointer</secondary></indexterm>
<indexterm><primary>Pointer</primary><secondary>grabbing</secondary></indexterm>
<indexterm significance="preferred"><primary>XGrabPointer</primary></indexterm>
@@ -224,7 +224,7 @@ Specifies further processing of pointer events.
You can pass
<function>GrabModeSync </function>
or
-<function>GrabModeAsync .</function>
+<function>GrabModeAsync</function>.
</para>
</listitem>
</varlistentry>
@@ -238,7 +238,7 @@ Specifies further processing of keyboard events.
You can pass
<function>GrabModeSync </function>
or
-<function>GrabModeAsync .</function>
+<function>GrabModeAsync</function>.
</para>
</listitem>
</varlistentry>
@@ -249,7 +249,7 @@ or
<listitem>
<para>
Specifies the window to confine the pointer in or
-<function>None .</function>
+<function>None</function>.
</para>
</listitem>
</varlistentry>
@@ -260,7 +260,7 @@ Specifies the window to confine the pointer in or
<listitem>
<para>
Specifies the cursor that is to be displayed during the grab or
-<function>None . </function>
+<function>None</function>.
</para>
</listitem>
</varlistentry>
@@ -272,7 +272,7 @@ Specifies the cursor that is to be displayed during the grab or
<para>
Specifies the time.
You can pass either a timestamp or
-<function>CurrentTime .</function>
+<function>CurrentTime</function>.
</para>
</listitem>
</varlistentry>
@@ -290,7 +290,7 @@ Further pointer events are reported only to the grabbing client.
<function>XGrabPointer</function>
overrides any active pointer grab by this client.
If owner_events is
-<function>False , </function>
+<function>False</function>,
all generated pointer events
are reported with respect to grab_window and are reported only if
selected by event_mask.
@@ -306,12 +306,12 @@ For either value of owner_events, unreported events are discarded.
<para>
<!-- .LP -->
If the pointer_mode is
-<function>GrabModeAsync , </function>
+<function>GrabModeAsync</function>,
pointer event processing continues as usual.
If the pointer is currently frozen by this client,
the processing of events for the pointer is resumed.
If the pointer_mode is
-<function>GrabModeSync , </function>
+<function>GrabModeSync</function>,
the state of the pointer, as seen by
client applications,
appears to freeze, and the X server generates no further pointer events
@@ -324,10 +324,10 @@ they are simply queued in the server for later processing.
<para>
<!-- .LP -->
If the keyboard_mode is
-<function>GrabModeAsync , </function>
+<function>GrabModeAsync</function>,
keyboard event processing is unaffected by activation of the grab.
If the keyboard_mode is
-<function>GrabModeSync , </function>
+<function>GrabModeSync</function>,
the state of the keyboard, as seen by
client applications,
appears to freeze, and the X server generates no further keyboard events
@@ -389,26 +389,26 @@ or if the confine_to window lies completely outside the boundaries of the root
window,
<function>XGrabPointer</function>
fails and returns
-<function>GrabNotViewable .</function>
+<function>GrabNotViewable</function>.
If the pointer is actively grabbed by some other client,
it fails and returns
-<function>AlreadyGrabbed .</function>
+<function>AlreadyGrabbed</function>.
If the pointer is frozen by an active grab of another client,
it fails and returns
-<function>GrabFrozen .</function>
+<function>GrabFrozen</function>.
If the specified time is earlier than the last-pointer-grab time or later
than the current X server time, it fails and returns
-<function>GrabInvalidTime .</function>
+<function>GrabInvalidTime</function>.
Otherwise, the last-pointer-grab time is set to the specified time
-<function>( CurrentTime </function>
+(<function>CurrentTime </function>
is replaced by the current X server time).
</para>
<para>
<!-- .LP -->
<function>XGrabPointer</function>
can generate
-<function>BadCursor ,</function>
-<function>BadValue ,</function>
+<function>BadCursor</function>,
+<function>BadValue</function>,
and
<function>BadWindow </function>
errors.
@@ -417,7 +417,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To ungrab the pointer, use
-<function>XUngrabPointer .</function>
+<function>XUngrabPointer</function>.
<indexterm><primary>Ungrabbing</primary><secondary>pointer</secondary></indexterm>
<indexterm><primary>Pointer</primary><secondary>ungrabbing</secondary></indexterm>
<indexterm significance="preferred"><primary>XUngrabPointer</primary></indexterm>
@@ -449,7 +449,7 @@ Specifies the connection to the X server.
<para>
Specifies the time.
You can pass either a timestamp or
-<function>CurrentTime .</function>
+<function>CurrentTime</function>.
</para>
</listitem>
</varlistentry>
@@ -462,8 +462,8 @@ The
<function>XUngrabPointer</function>
function releases the pointer and any queued events
if this client has actively grabbed the pointer from
-<function>XGrabPointer ,</function>
-<function>XGrabButton ,</function>
+<function>XGrabPointer</function>,
+<function>XGrabButton</function>,
or from a normal button press.
<function>XUngrabPointer</function>
does not release the pointer if the specified
@@ -485,7 +485,7 @@ outside the boundaries of the root window.
<!-- .LP -->
<!-- .sp -->
To change an active pointer grab, use
-<function>XChangeActivePointerGrab .</function>
+<function>XChangeActivePointerGrab</function>.
<indexterm><primary>Pointer</primary><secondary>grabbing</secondary></indexterm>
<indexterm ><primary>Changing</primary><secondary>pointer grab</secondary></indexterm>
<indexterm significance="preferred"><primary>XChangeActivePointerGrab</primary></indexterm>
@@ -529,7 +529,7 @@ The mask is the bitwise inclusive OR of the valid pointer event mask bits.
<listitem>
<para>
Specifies the cursor that is to be displayed or
-<function>None .</function>
+<function>None</function>.
</para>
</listitem>
</varlistentry>
@@ -541,7 +541,7 @@ Specifies the cursor that is to be displayed or
<para>
Specifies the time.
You can pass either a timestamp or
-<function>CurrentTime .</function>
+<function>CurrentTime</function>.
</para>
</listitem>
</varlistentry>
@@ -556,9 +556,9 @@ function changes the specified dynamic parameters if the pointer is actively
grabbed by the client and if the specified time is no earlier than the
last-pointer-grab time and no later than the current X server time.
This function has no effect on the passive parameters of an
-<function>XGrabButton .</function>
+<function>XGrabButton</function>.
The interpretation of event_mask and cursor is the same as described in
-<function>XGrabPointer .</function>
+<function>XGrabPointer</function>.
</para>
<para>
<!-- .LP -->
@@ -573,7 +573,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To grab a pointer button, use
-<function>XGrabButton .</function>
+<function>XGrabButton</function>.
<indexterm><primary>Grabbing</primary><secondary>buttons</secondary></indexterm>
<indexterm><primary>Button</primary><secondary>grabbing</secondary></indexterm>
<indexterm significance="preferred"><primary>XGrabButton</primary></indexterm>
@@ -612,7 +612,7 @@ Specifies the connection to the X server.
<listitem>
<para>
Specifies the pointer button that is to be (Bu or
-<function>AnyButton .</function>
+<function>AnyButton</function>.
</para>
</listitem>
</varlistentry>
@@ -623,7 +623,7 @@ Specifies the pointer button that is to be (Bu or
<listitem>
<para>
Specifies the set of keymasks or
-<function>AnyModifier .</function>
+<function>AnyModifier</function>.
The mask is the bitwise inclusive OR of the valid keymask bits.
</para>
</listitem>
@@ -671,7 +671,7 @@ Specifies further processing of pointer events.
You can pass
<function>GrabModeSync </function>
or
-<function>GrabModeAsync .</function>
+<function>GrabModeAsync</function>.
</para>
</listitem>
</varlistentry>
@@ -685,7 +685,7 @@ Specifies further processing of keyboard events.
You can pass
<function>GrabModeSync </function>
or
-<function>GrabModeAsync .</function>
+<function>GrabModeAsync</function>.
</para>
</listitem>
</varlistentry>
@@ -696,7 +696,7 @@ or
<listitem>
<para>
Specifies the window to confine the pointer in or
-<function>None .</function>
+<function>None</function>.
</para>
</listitem>
</varlistentry>
@@ -707,7 +707,7 @@ Specifies the window to confine the pointer in or
<listitem>
<para>
Specifies the cursor that is to be displayed or
-<function>None .</function>
+<function>None</function>.
</para>
</listitem>
</varlistentry>
@@ -721,7 +721,7 @@ The
function establishes a passive grab.
In the future,
the pointer is actively grabbed (as for
-<function>XGrabPointer ),</function>
+<function>XGrabPointer</function>),
the last-pointer-grab time is set to the time at which the button was pressed
(as transmitted in the
<function>ButtonPress</function>
@@ -757,7 +757,7 @@ on any ancestor of grab_window.
<para>
<!-- .LP -->
The interpretation of the remaining arguments is as for
-<function>XGrabPointer .</function>
+<function>XGrabPointer</function>.
The active grab is terminated automatically when the logical state of the
pointer has all buttons released
(independent of the state of the logical modifier keys).
@@ -794,7 +794,7 @@ error results.
When using
<function>AnyModifier </function>
or
-<function>AnyButton , </function>
+<function>AnyButton</function>,
the request fails completely,
and a
<function>BadAccess</function>
@@ -807,8 +807,8 @@ has no effect on an active grab.
<!-- .LP -->
<function>XGrabButton</function>
can generate
-<function>BadCursor ,</function>
-<function>BadValue ,</function>
+<function>BadCursor</function>,
+<function>BadValue</function>,
and
<function>BadWindow </function>
errors.
@@ -817,7 +817,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To ungrab a pointer button, use
-<function>XUngrabButton .</function>
+<function>XUngrabButton</function>.
<indexterm><primary>Ungrabbing</primary><secondary>buttons</secondary></indexterm>
<indexterm><primary>Button</primary><secondary>ungrabbing</secondary></indexterm>
<indexterm significance="preferred"><primary>XUngrabButton</primary></indexterm>
@@ -851,7 +851,7 @@ Specifies the connection to the X server.
<listitem>
<para>
Specifies the pointer button that is to be (Bu or
-<function>AnyButton .</function>
+<function>AnyButton</function>.
</para>
</listitem>
</varlistentry>
@@ -862,7 +862,7 @@ Specifies the pointer button that is to be (Bu or
<listitem>
<para>
Specifies the set of keymasks or
-<function>AnyModifier .</function>
+<function>AnyModifier</function>.
The mask is the bitwise inclusive OR of the valid keymask bits.
</para>
</listitem>
@@ -924,21 +924,21 @@ as well as allow events.
For many functions in this section,
you pass keymask bits.
The valid keymask bits are:
-<function>ShiftMask ,</function>
-<function>LockMask ,</function>
-<function>ControlMask ,</function>
-<function>Mod1Mask ,</function>
-<function>Mod2Mask ,</function>
-<function>Mod3Mask ,</function>
-<function>Mod4Mask ,</function>
+<function>ShiftMask</function>,
+<function>LockMask</function>,
+<function>ControlMask</function>,
+<function>Mod1Mask</function>,
+<function>Mod2Mask</function>,
+<function>Mod3Mask</function>,
+<function>Mod4Mask</function>,
and
-<function>Mod5Mask .</function>
+<function>Mod5Mask</function>.
</para>
<para>
<!-- .LP -->
<!-- .sp -->
To grab the keyboard, use
-<function>XGrabKeyboard .</function>
+<function>XGrabKeyboard</function>.
<indexterm><primary>Keyboard</primary><secondary>grabbing</secondary></indexterm>
<indexterm><primary>Grabbing</primary><secondary>keyboard</secondary></indexterm>
<indexterm significance="preferred"><primary>XGrabKeyboard</primary></indexterm>
@@ -996,7 +996,7 @@ Specifies further processing of pointer events.
You can pass
<function>GrabModeSync </function>
or
-<function>GrabModeAsync .</function>
+<function>GrabModeAsync</function>.
</para>
</listitem>
</varlistentry>
@@ -1010,7 +1010,7 @@ Specifies further processing of keyboard events.
You can pass
<function>GrabModeSync </function>
or
-<function>GrabModeAsync .</function>
+<function>GrabModeAsync</function>.
</para>
</listitem>
</varlistentry>
@@ -1022,7 +1022,7 @@ or
<para>
Specifies the time.
You can pass either a timestamp or
-<function>CurrentTime .</function>
+<function>CurrentTime</function>.
</para>
</listitem>
</varlistentry>
@@ -1043,7 +1043,7 @@ grabbing client.
<function>XGrabKeyboard</function>
overrides any active keyboard grab by this client.
If owner_events is
-<function>False , </function>
+<function>False</function>,
all generated key events are reported with
respect to grab_window.
If owner_events is
@@ -1062,13 +1062,13 @@ independent of any event selection made by the client.
<para>
<!-- .LP -->
If the keyboard_mode argument is
-<function>GrabModeAsync ,</function>
+<function>GrabModeAsync</function>,
keyboard event processing continues
as usual.
If the keyboard is currently frozen by this client,
then processing of keyboard events is resumed.
If the keyboard_mode argument is
-<function>GrabModeSync ,</function>
+<function>GrabModeSync</function>,
the state of the keyboard (as seen by client applications) appears to freeze,
and the X server generates no further keyboard events until the
grabbing client issues a releasing
@@ -1080,11 +1080,11 @@ they are simply queued in the server for later processing.
<para>
<!-- .LP -->
If pointer_mode is
-<function>GrabModeAsync ,</function>
+<function>GrabModeAsync</function>,
pointer event processing is unaffected
by activation of the grab.
If pointer_mode is
-<function>GrabModeSync ,</function>
+<function>GrabModeSync</function>,
the state of the pointer (as seen by client applications) appears to freeze,
and the X server generates no further pointer events
until the grabbing client issues a releasing
@@ -1098,19 +1098,19 @@ they are simply queued in the server for later processing.
If the keyboard is actively grabbed by some other client,
<function>XGrabKeyboard</function>
fails and returns
-<function>AlreadyGrabbed .</function>
+<function>AlreadyGrabbed</function>.
If grab_window is not viewable,
it fails and returns
-<function>GrabNotViewable .</function>
+<function>GrabNotViewable</function>.
If the keyboard is frozen by an active grab of another client,
it fails and returns
-<function>GrabFrozen .</function>
+<function>GrabFrozen</function>.
If the specified time is earlier than the last-keyboard-grab time
or later than the current X server time,
it fails and returns
-<function>GrabInvalidTime .</function>
+<function>GrabInvalidTime</function>.
Otherwise, the last-keyboard-grab time is set to the specified time
-<function>( CurrentTime </function>
+(<function>CurrentTime </function>
is replaced by the current X server time).
</para>
<para>
@@ -1126,7 +1126,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To ungrab the keyboard, use
-<function>XUngrabKeyboard .</function>
+<function>XUngrabKeyboard</function>.
<indexterm><primary>Keyboard</primary><secondary>ungrabbing</secondary></indexterm>
<indexterm><primary>Ungrabbing</primary><secondary>keyboard</secondary></indexterm>
<indexterm significance="preferred"><primary>XUngrabKeyboard</primary></indexterm>
@@ -1158,7 +1158,7 @@ Specifies the connection to the X server.
<para>
Specifies the time.
You can pass either a timestamp or
-<function>CurrentTime .</function>
+<function>CurrentTime</function>.
</para>
</listitem>
</varlistentry>
@@ -1174,7 +1174,7 @@ releases the keyboard and any queued events if this client has it actively grabb
either
<function>XGrabKeyboard</function>
or
-<function>XGrabKey .</function>
+<function>XGrabKey</function>.
<function>XUngrabKeyboard</function>
does not release the keyboard and any queued events
if the specified time is earlier than
@@ -1193,7 +1193,7 @@ active keyboard grab becomes not viewable.
<!-- .LP -->
<!-- .sp -->
To passively grab a single key of the keyboard, use
-<function>XGrabKey .</function>
+<function>XGrabKey</function>.
<indexterm><primary>Key</primary><secondary>grabbing</secondary></indexterm>
<indexterm><primary>Grabbing</primary><secondary>keys</secondary></indexterm>
<indexterm significance="preferred"><primary>XGrabKey</primary></indexterm>
@@ -1228,7 +1228,7 @@ Specifies the connection to the X server.
<listitem>
<para>
Specifies the KeyCode or
-<function>AnyKey .</function>
+<function>AnyKey</function>.
</para>
</listitem>
</varlistentry>
@@ -1239,7 +1239,7 @@ Specifies the KeyCode or
<listitem>
<para>
Specifies the set of keymasks or
-<function>AnyModifier .</function>
+<function>AnyModifier</function>.
The mask is the bitwise inclusive OR of the valid keymask bits.
</para>
</listitem>
@@ -1275,7 +1275,7 @@ Specifies further processing of pointer events.
You can pass
<function>GrabModeSync </function>
or
-<function>GrabModeAsync .</function>
+<function>GrabModeAsync</function>.
</para>
</listitem>
</varlistentry>
@@ -1289,7 +1289,7 @@ Specifies further processing of keyboard events.
You can pass
<function>GrabModeSync </function>
or
-<function>GrabModeAsync .</function>
+<function>GrabModeAsync</function>.
</para>
</listitem>
</varlistentry>
@@ -1303,7 +1303,7 @@ The
function establishes a passive grab on the keyboard.
In the future,
the keyboard is actively grabbed (as for
-<function>XGrabKeyboard ),</function>
+<function>XGrabKeyboard</function>),
the last-keyboard-grab time is set to the time at which the key was pressed
(as transmitted in the
<function>KeyPress</function>
@@ -1336,7 +1336,7 @@ on any ancestor of grab_window.
<para>
<!-- .LP -->
The interpretation of the remaining arguments is as for
-<function>XGrabKeyboard .</function>
+<function>XGrabKeyboard</function>.
The active grab is terminated automatically when the logical state of the
keyboard has the specified key released
(independent of the logical state of the modifier keys).
@@ -1376,7 +1376,7 @@ error results.
When using
<function>AnyModifier</function>
or
-<function>AnyKey ,</function>
+<function>AnyKey</function>,
the request fails completely,
and a
<function>BadAccess </function>
@@ -1387,8 +1387,8 @@ if there is a conflicting grab for any combination.
<!-- .LP -->
<function>XGrabKey</function>
can generate
-<function>BadAccess ,</function>
-<function>BadValue , </function>
+<function>BadAccess</function>,
+<function>BadValue</function>,
and
<function>BadWindow </function>
errors.
@@ -1397,7 +1397,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To ungrab a key, use
-<function>XUngrabKey .</function>
+<function>XUngrabKey</function>.
<indexterm><primary>Key</primary><secondary>ungrabbing</secondary></indexterm>
<indexterm><primary>Ungrabbing</primary><secondary>keys</secondary></indexterm>
<indexterm significance="preferred"><primary>XUngrabKey</primary></indexterm>
@@ -1430,7 +1430,7 @@ Specifies the connection to the X server.
<listitem>
<para>
Specifies the KeyCode or
-<function>AnyKey .</function>
+<function>AnyKey</function>.
</para>
</listitem>
</varlistentry>
@@ -1441,7 +1441,7 @@ Specifies the KeyCode or
<listitem>
<para>
Specifies the set of keymasks or
-<function>AnyModifier .</function>
+<function>AnyModifier</function>.
The mask is the bitwise inclusive OR of the valid keymask bits.
</para>
</listitem>
@@ -1500,7 +1500,7 @@ describes the mechanism for resuming event processing.
<!-- .LP -->
<!-- .sp -->
To allow further events to be processed when the device has been frozen, use
-<function>XAllowEvents .</function>
+<function>XAllowEvents</function>.
<indexterm significance="preferred"><primary>XAllowEvents</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1531,15 +1531,15 @@ Specifies the connection to the X server.
<para>
Specifies the event mode.
You can pass
-<function>AsyncPointer , </function>
-<function>SyncPointer , </function>
-<function>AsyncKeyboard , </function>
-<function>SyncKeyboard ,</function>
-<function>ReplayPointer , </function>
-<function>ReplayKeyboard ,</function>
-<function>AsyncBoth ,</function>
+<function>AsyncPointer</function>,
+<function>SyncPointer</function>,
+<function>AsyncKeyboard</function>,
+<function>SyncKeyboard</function>,
+<function>ReplayPointer</function>,
+<function>ReplayKeyboard</function>,
+<function>AsyncBoth</function>,
or
-<function>SyncBoth .</function>
+<function>SyncBoth</function>.
</para>
</listitem>
</varlistentry>
@@ -1551,7 +1551,7 @@ or
<para>
Specifies the time.
You can pass either a timestamp or
-<function>CurrentTime .</function>
+<function>CurrentTime</function>.
</para>
</listitem>
</varlistentry>
@@ -1611,7 +1611,7 @@ Depending on the event_mode argument, the following occurs:
with mode
<function>SyncPointer</function>
but not from an
- <function>XGrabPointer ),</function>
+ <function>XGrabPointer</function>),
the pointer grab is released and that event is completely reprocessed.
This time, however, the function ignores any passive grabs at or above
(toward the root of) the grab_window of the grab just released.
@@ -1656,7 +1656,7 @@ Depending on the event_mode argument, the following occurs:
with mode
<function>SyncKeyboard </function>
but not from an
- <function>XGrabKeyboard ),</function>
+ <function>XGrabKeyboard</function>),
the keyboard grab is released and that event is completely reprocessed.
This time, however, the function ignores any passive grabs at or above
(toward the root of)
@@ -1668,9 +1668,9 @@ Depending on the event_mode argument, the following occurs:
<entry><function>SyncBoth</function></entry>
<entry>If both pointer and keyboard are frozen by the client,
event processing for both devices continues as usual until the next
- <function>ButtonPress , </function>
- <function>ButtonRelease , </function>
- <function>KeyPress , </function>
+ <function>ButtonPress</function>,
+ <function>ButtonRelease</function>,
+ <function>KeyPress</function>,
or
<function>KeyRelease </function>
event is reported to the client for a grabbed device
@@ -1707,14 +1707,14 @@ Depending on the event_mode argument, the following occurs:
<para>
<!-- .LP -->
-<function>AsyncPointer , </function>
-<function>SyncPointer , </function>
+<function>AsyncPointer</function>,
+<function>SyncPointer</function>,
and
<function>ReplayPointer </function>
have no effect on the
processing of keyboard events.
-<function>AsyncKeyboard , </function>
-<function>SyncKeyboard , </function>
+<function>AsyncKeyboard</function>,
+<function>SyncKeyboard</function>,
and
<function>ReplayKeyboard </function>
have no effect on the
@@ -1755,7 +1755,7 @@ pointer to a new position under program control.
<!-- .LP -->
<!-- .sp -->
To move the pointer to an arbitrary point in a window, use
-<function>XWarpPointer .</function>
+<function>XWarpPointer</function>.
<indexterm significance="preferred"><primary>XWarpPointer</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1787,7 +1787,7 @@ Specifies the connection to the X server.
<listitem>
<para>
Specifies the source window or
-<function>None .</function>
+<function>None</function>.
</para>
</listitem>
</varlistentry>
@@ -1798,7 +1798,7 @@ Specifies the source window or
<listitem>
<para>
Specifies the destination window or
-<function>None .</function>
+<function>None</function>.
</para>
</listitem>
</varlistentry>
@@ -1872,7 +1872,7 @@ Specify the x and y coordinates within the destination window.
<!-- .LP -->
<!-- .eM -->
If dest_w is
-<function>None ,</function>
+<function>None</function>,
<function>XWarpPointer</function>
moves the pointer by the offsets (dest_x, dest_y) relative to the current
position of the pointer.
@@ -1929,7 +1929,7 @@ for input focus policy.
<!-- .LP -->
<!-- .sp -->
To set the input focus, use
-<function>XSetInputFocus .</function>
+<function>XSetInputFocus</function>.
<indexterm significance="preferred"><primary>XSetInputFocus</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1960,9 +1960,9 @@ Specifies the connection to the X server.
<listitem>
<para>
Specifies the window,
-<function>PointerRoot ,</function>
+<function>PointerRoot</function>,
or
-<function>None .</function>
+<function>None</function>.
</para>
</listitem>
</varlistentry>
@@ -1975,10 +1975,10 @@ or
Specifies where the input focus reverts to if the window becomes not
viewable.
You can pass
-<function>RevertToParent , </function>
-<function>RevertToPointerRoot , </function>
+<function>RevertToParent</function>,
+<function>RevertToPointerRoot</function>,
or
-<function>RevertToNone .</function>
+<function>RevertToNone</function>.
</para>
</listitem>
</varlistentry>
@@ -1990,7 +1990,7 @@ or
<para>
Specifies the time.
You can pass either a timestamp or
-<function>CurrentTime .</function>
+<function>CurrentTime</function>.
</para>
</listitem>
</varlistentry>
@@ -2005,7 +2005,7 @@ function changes the input focus and the 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 last-focus-change time is set to the specified time
-<function>( CurrentTime </function>
+(<function>CurrentTime </function>
is replaced by the current X server time).
<function>XSetInputFocus</function>
causes the X server to generate
@@ -2023,7 +2023,7 @@ the following occurs:
<listitem>
<para>
If focus is
-<function>None ,</function>
+<function>None</function>,
all keyboard events are discarded until a new focus window is set,
and the revert_to argument is ignored.
</para>
@@ -2040,7 +2040,7 @@ Otherwise, the event is reported relative to the focus window.
<listitem>
<para>
If focus is
-<function>PointerRoot ,</function>
+<function>PointerRoot</function>,
the focus window is dynamically taken to be the root window of whatever screen
the pointer is on at each keyboard event.
In this case, the revert_to argument is ignored.
@@ -2063,10 +2063,10 @@ evaluates the revert_to argument to determine the new focus window as follows:
<listitem>
<para>
If revert_to is
-<function>RevertToParent ,</function>
+<function>RevertToParent</function>,
the focus reverts to the parent (or the closest viewable ancestor),
and the new revert_to value is taken to be
-<function>RevertToNone . </function>
+<function>RevertToNone</function>.
</para>
</listitem>
<listitem>
@@ -2074,11 +2074,11 @@ and the new revert_to value is taken to be
If revert_to is
<function>RevertToPointerRoot </function>
or
-<function>RevertToNone ,</function>
+<function>RevertToNone</function>,
the focus reverts to
<function>PointerRoot</function>
or
-<function>None ,</function>
+<function>None</function>,
respectively.
When the focus reverts,
the X server generates
@@ -2093,8 +2093,8 @@ events, but the last-focus-change time is not affected.
<!-- .LP -->
<function>XSetInputFocus</function>
can generate
-<function>BadMatch ,</function>
-<function>BadValue ,</function>
+<function>BadMatch</function>,
+<function>BadValue</function>,
and
<function>BadWindow </function>
errors.
@@ -2103,7 +2103,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To obtain the current input focus, use
-<function>XGetInputFocus .</function>
+<function>XGetInputFocus</function>.
<indexterm significance="preferred"><primary>XGetInputFocus</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2133,9 +2133,9 @@ Specifies the connection to the X server.
<listitem>
<para>
Returns the focus window,
-<function>PointerRoot ,</function>
+<function>PointerRoot</function>,
or
-<function>None .</function>
+<function>None</function>.
</para>
</listitem>
</varlistentry>
@@ -2146,10 +2146,10 @@ or
<listitem>
<para>
Returns the current focus state
-<function>( RevertToParent , </function>
-<function>RevertToPointerRoot , </function>
+(<function>RevertToParent</function>,
+<function>RevertToPointerRoot</function>,
or
-<function>RevertToNone ).</function>
+<function>RevertToNone</function>).
</para>
</listitem>
</varlistentry>
@@ -2265,7 +2265,7 @@ the state of that <acronym>LED</acronym> is changed, if possible.
The led_mode member can be set to
<function>LedModeOn</function>
or
-<function>LedModeOff .</function>
+<function>LedModeOff</function>.
If only led_mode is specified, the state of
all LEDs are changed, if possible.
At most 32 LEDs numbered from one are supported.
@@ -2278,10 +2278,10 @@ error results.
<!-- .LP -->
If both the auto_repeat_mode and key members are specified,
the auto_repeat_mode of that key is changed (according to
-<function>AutoRepeatModeOn ,</function>
-<function>AutoRepeatModeOff ,</function>
+<function>AutoRepeatModeOn</function>,
+<function>AutoRepeatModeOff</function>,
or
-<function>AutoRepeatModeDefault ),</function>
+<function>AutoRepeatModeDefault</function>),
if possible.
If only auto_repeat_mode is
specified, the global auto_repeat_mode for the entire keyboard is
@@ -2295,10 +2295,10 @@ In addition,
there is a global mode of whether auto-repeat should be enabled or not
and a default setting for that mode.
When global mode is
-<function>AutoRepeatModeOn ,</function>
+<function>AutoRepeatModeOn</function>,
keys should obey their individual auto-repeat modes.
When global mode is
-<function>AutoRepeatModeOff ,</function>
+<function>AutoRepeatModeOff</function>,
no keys should auto-repeat.
An auto-repeating key generates alternating
<function>KeyPress</function>
@@ -2387,7 +2387,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To obtain the current control values for the keyboard, use
-<function>XGetKeyboardControl .</function>
+<function>XGetKeyboardControl</function>.
<indexterm significance="preferred"><primary>XGetKeyboardControl</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2459,7 +2459,7 @@ and each bit set to 1 in led_mask indicates an <acronym>LED</acronym> that is li
The global_auto_repeat member can be set to
<function>AutoRepeatModeOn</function>
or
-<function>AutoRepeatModeOff .</function>
+<function>AutoRepeatModeOff</function>.
The auto_repeats member is a bit vector.
Each bit set to 1 indicates that auto-repeat is enabled
for the corresponding key.
@@ -2471,7 +2471,7 @@ with the least significant bit in the byte representing key 8N.
<!-- .LP -->
<!-- .sp -->
To turn on keyboard auto-repeat, use
-<function>XAutoRepeatOn .</function>
+<function>XAutoRepeatOn</function>.
<indexterm significance="preferred"><primary>XAutoRepeatOn</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2505,7 +2505,7 @@ function turns on auto-repeat for the keyboard on the specified display.
<!-- .LP -->
<!-- .sp -->
To turn off keyboard auto-repeat, use
-<function>XAutoRepeatOff .</function>
+<function>XAutoRepeatOff</function>.
<indexterm significance="preferred"><primary>XAutoRepeatOff</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2539,7 +2539,7 @@ function turns off auto-repeat for the keyboard on the specified display.
<!-- .LP -->
<!-- .sp -->
To ring the bell, use
-<function>XBell .</function>
+<function>XBell</function>.
<indexterm significance="preferred"><primary>XBell</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2610,7 +2610,7 @@ base + [(base * percent) / 100]
<para>
<!-- .LP -->
To change the base volume of the bell, use
-<function>XChangeKeyboardControl .</function>
+<function>XChangeKeyboardControl</function>.
</para>
<para>
<!-- .LP -->
@@ -2623,7 +2623,7 @@ error.
<!-- .LP -->
<!-- .sp -->
To obtain a bit vector that describes the state of the keyboard, use
-<function>XQueryKeymap .</function>
+<function>XQueryKeymap</function>.
<indexterm significance="preferred"><primary>XQueryKeymap</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2679,7 +2679,7 @@ may lag the physical state if device event processing is frozen.
<!-- .LP -->
<!-- .sp -->
To set the mapping of the pointer buttons, use
-<function>XSetPointerMapping .</function>
+<function>XSetPointerMapping</function>.
<indexterm significance="preferred"><primary>XSetPointerMapping</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2735,7 +2735,7 @@ If it succeeds, the X server generates a
event, and
<function>XSetPointerMapping</function>
returns
-<function>MappingSuccess .</function>
+<function>MappingSuccess</function>.
Element map[i] defines the logical button number for the physical button
i+1.
The length of the list must be the same as
@@ -2753,7 +2753,7 @@ error results.
If any of the buttons to be altered are logically in the down state,
<function>XSetPointerMapping</function>
returns
-<function>MappingBusy ,</function>
+<function>MappingBusy</function>,
and the mapping is not changed.
</para>
<para>
@@ -2767,7 +2767,7 @@ error.
<!-- .LP -->
<!-- .sp -->
To get the pointer mapping, use
-<function>XGetPointerMapping .</function>
+<function>XGetPointerMapping</function>.
<indexterm significance="preferred"><primary>XGetPointerMapping</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2830,7 +2830,7 @@ in map_return.
<!-- .LP -->
<!-- .sp -->
To control the pointer's interactive feel, use
-<function>XChangePointerControl .</function>
+<function>XChangePointerControl</function>.
<indexterm significance="preferred"><primary>XChangePointerControl</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2943,7 +2943,7 @@ error.
<!-- .LP -->
<!-- .sp -->
To get the current pointer parameters, use
-<function>XGetPointerControl .</function>
+<function>XGetPointerControl</function>.
<indexterm significance="preferred"><primary>XGetPointerControl</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3075,7 +3075,7 @@ Group 1 contains the first and second KeySyms;
Group 2 contains the third and fourth KeySyms.
Within each group,
if the second element of the group is
-<function>NoSymbol ,</function>
+<function>NoSymbol</function>,
then the group should be treated as if the second element were
the same as the first element,
except when the first element is an alphabetic KeySym ``<emphasis remap='I'>K</emphasis>''
@@ -3097,7 +3097,7 @@ by attaching that KeySym to some KeyCode and attaching
that KeyCode to any one of the modifiers
<function>Mod1</function>
through
-<function>Mod5 .</function>
+<function>Mod5</function>.
This modifier is called the <emphasis remap='I'>group modifier</emphasis>.
For any KeyCode,
Group 1 is used when the group modifier is off,
@@ -3127,7 +3127,7 @@ by attaching that KeySym to some KeyCode and attaching that KeyCode to any
one of the modifiers
<function>Mod1 </function>
through
-<function>Mod5 . </function>
+<function>Mod5</function>.
This modifier is called the
<emphasis remap='I'>numlock modifier</emphasis>. The standard KeySyms with the prefix ``XK_KP_''
in their
@@ -3212,7 +3212,7 @@ Rather, it merely stores it for reading and writing by clients.
<para>
<!-- .LP -->
To obtain the legal KeyCodes for a display, use
-<function>XDisplayKeycodes .</function>
+<function>XDisplayKeycodes</function>.
<indexterm significance="preferred"><primary>XDisplayKeycodes</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3271,7 +3271,7 @@ Not all KeyCodes in this range are required to have corresponding keys.
<para>
<!-- .LP -->
To obtain the symbols for the specified KeyCodes, use
-<function>XGetKeyboardMapping .</function>
+<function>XGetKeyboardMapping</function>.
<indexterm significance="preferred"><primary>XGetKeyboardMapping</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3337,7 +3337,7 @@ function returns the symbols for the specified number of KeyCodes
starting with first_keycode.
The value specified in first_keycode must be greater than
or equal to min_keycode as returned by
-<function>XDisplayKeycodes ,</function>
+<function>XDisplayKeycodes</function>,
or a
<function>BadValue </function>
error results.
@@ -3381,9 +3381,9 @@ A special KeySym value of
is used to fill in unused elements for
individual KeyCodes.
To free the storage returned by
-<function>XGetKeyboardMapping ,</function>
+<function>XGetKeyboardMapping</function>,
use
-<function>XFree .</function>
+<function>XFree</function>.
</para>
<para>
<!-- .LP -->
@@ -3396,7 +3396,7 @@ error.
<!-- .LP -->
<!-- .sp -->
To change the keyboard mapping, use
-<function>XChangeKeyboardMapping .</function>
+<function>XChangeKeyboardMapping</function>.
<indexterm significance="preferred"><primary>XChangeKeyboardMapping</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3484,13 +3484,13 @@ num_codes * keysyms_per_keycode
<!-- .LP -->
The specified first_keycode must be greater than or equal to min_keycode
returned by
-<function>XDisplayKeycodes ,</function>
+<function>XDisplayKeycodes</function>,
or a
<function>BadValue </function>
error results.
In addition, the following expression must be less than or equal to
max_keycode as returned by
-<function>XDisplayKeycodes ,</function>
+<function>XDisplayKeycodes</function>,
or a
<function>BadValue </function>
error results:
@@ -3568,7 +3568,7 @@ typedef struct {
To create an
<function>XModifierKeymap</function>
structure, use
-<function>XNewModifiermap .</function>
+<function>XNewModifiermap</function>.
<indexterm significance="preferred"><primary>XNewModifiermap</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3607,7 +3607,7 @@ structure for later use.
To add a new entry to an
<function>XModifierKeymap</function>
structure, use
-<function>XInsertModifiermapEntry .</function>
+<function>XInsertModifiermapEntry</function>.
<indexterm significance="preferred"><primary>XInsertModifiermapEntry</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3670,7 +3670,7 @@ structure (expanded as needed).
To delete an entry from an
<function>XModifierKeymap</function>
structure, use
-<function>XDeleteModifiermapEntry .</function>
+<function>XDeleteModifiermapEntry</function>.
<indexterm significance="preferred"><primary>XDeleteModifiermapEntry</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3733,7 +3733,7 @@ structure.
To destroy an
<function>XModifierKeymap</function>
structure, use
-<function>XFreeModifiermap .</function>
+<function>XFreeModifiermap</function>.
<indexterm significance="preferred"><primary>XFreeModifiermap</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3771,7 +3771,7 @@ structure.
<!-- .LP -->
<!-- .sp -->
To set the KeyCodes to be used as modifiers, use
-<function>XSetModifierMapping .</function>
+<function>XSetModifierMapping</function>.
<indexterm significance="preferred"><primary>XSetModifierMapping</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3820,7 +3820,7 @@ the X server generates a
event, and
<function>XSetModifierMapping</function>
returns
-<function>MappingSuccess .</function>
+<function>MappingSuccess</function>.
X permits at most 8 modifier keys.
If more than 8 are specified in the
<function>XModifierKeymap</function>
@@ -3834,15 +3834,15 @@ The modifiermap member of the
<function>XModifierKeymap</function>
structure contains 8 sets of max_keypermod KeyCodes,
one for each modifier in the order
-<function>Shift , </function>
-<function>Lock , </function>
-<function>Control , </function>
-<function>Mod1 , </function>
-<function>Mod2 , </function>
-<function>Mod3 , </function>
-<function>Mod4 , </function>
+<function>Shift</function>,
+<function>Lock</function>,
+<function>Control</function>,
+<function>Mod1</function>,
+<function>Mod2</function>,
+<function>Mod3</function>,
+<function>Mod4</function>,
and
-<function>Mod5 .</function>
+<function>Mod5</function>.
Only nonzero KeyCodes have meaning in each set,
and zero KeyCodes are ignored.
In addition, all of the nonzero KeyCodes must be in the range specified by
@@ -3862,14 +3862,14 @@ if auto-repeat cannot be disabled on certain keys,
or if multiple modifier keys are not supported.
If some such restriction is violated,
the status reply is
-<function>MappingFailed ,</function>
+<function>MappingFailed</function>,
and none of the modifiers are changed.
If the new KeyCodes specified for a modifier differ from those
currently defined and any (current or new) keys for that modifier are
in the logically down state,
<function>XSetModifierMapping</function>
returns
-<function>MappingBusy , </function>
+<function>MappingBusy</function>,
and none of the modifiers is changed.
</para>
<para>
@@ -3885,7 +3885,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To obtain the KeyCodes used as modifiers, use
-<function>XGetModifierMapping .</function>
+<function>XGetModifierMapping</function>.
<indexterm significance="preferred"><primary>XGetModifierMapping</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3917,7 +3917,7 @@ function returns a pointer to a newly created
<function>XModifierKeymap</function>
structure that contains the keys being used as modifiers.
The structure should be freed after use by calling
-<function>XFreeModifiermap .</function>
+<function>XFreeModifiermap</function>.
If only zero values appear in the set for any modifier,
that modifier is disabled.
<!-- .bp -->
diff --git a/specs/libX11/CH13.xml b/specs/libX11/CH13.xml
index 4c6fc40..b1f5195 100644
--- a/specs/libX11/CH13.xml
+++ b/specs/libX11/CH13.xml
@@ -70,14 +70,14 @@ The remainder of this chapter discusses:
X supports one or more of the locales defined by the host environment.
On implementations that conform to the ANSI C library,
the locale announcement method is
-<function>setlocale .</function>
+<function>setlocale</function>.
This function configures the locale operation of both
the host C library and Xlib.
The operation of Xlib is governed by the LC_CTYPE category;
this is called the <emphasis remap='I'>current locale</emphasis>.
An implementation is permitted to provide implementation-dependent
mechanisms for announcing the locale in addition to
-<function>setlocale .</function>
+<function>setlocale</function>.
</para>
<para>
<!-- .LP -->
@@ -94,7 +94,7 @@ for a specific locale is implementation-dependent.
<!-- .sp -->
X is not required to support all the locales supported by the host.
To determine if the current locale is supported by X, use
-<function>XSupportsLocale .</function>
+<function>XSupportsLocale</function>.
</para>
<para>Bool XSupportsLocale()</para>
@@ -108,11 +108,11 @@ function returns
<function>True</function>
if Xlib functions are capable of operating under the current locale.
If it returns
-<function>False ,</function>
+<function>False</function>,
Xlib locale-dependent functions for which the
<function>XLocaleNotSupported </function>
return status is defined will return
-<function>XLocaleNotSupported .</function>
+<function>XLocaleNotSupported</function>.
Other Xlib locale-dependent routines will operate in the ``C'' locale.
</para>
<para>
@@ -124,9 +124,9 @@ Most single-display X clients operate in a single locale
for both X and the host processing environment.
They will configure the locale by calling three functions:
the host locale configuration function,
-<function>XSupportsLocale ,</function>
+<function>XSupportsLocale</function>,
and
-<function>XSetLocaleModifiers .</function>
+<function>XSetLocaleModifiers</function>.
</para>
<para>
<!-- .LP -->
@@ -140,7 +140,7 @@ is selecting one of several styles of keyboard input method.
<!-- .LP -->
<!-- .sp -->
To configure Xlib locale modifiers for the current locale, use
-<function>XSetLocaleModifiers .</function>
+<function>XSetLocaleModifiers</function>.
<indexterm significance="preferred"><primary>XSetLocaleModifiers</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -396,7 +396,7 @@ the following table describes the locale (and modifiers) dependency:
</row>
<row>
<entry></entry>
- <entry><function>XLocaleOfIM , </function> and so on</entry>
+ <entry><function>XLocaleOfIM</function>, and so on</entry>
<entry>Queried locale</entry>
</row>
<row>
@@ -433,31 +433,31 @@ the following table describes the locale (and modifiers) dependency:
</row>
<row>
<entry></entry>
- <entry><function>XLocaleOfOM , </function> and so on</entry>
+ <entry><function>XLocaleOfOM</function>, and so on</entry>
<entry>Queried locale</entry>
</row>
<row>
<entry><function>XFontSet</function></entry>
- <entry><function>XmbDrawText ,</function></entry>
+ <entry><function>XmbDrawText</function>,</entry>
<entry>Locale of supplied text</entry>
</row>
<row>
<entry></entry>
- <entry><function>XwcDrawText ,</function> and so on</entry>
+ <entry><function>XwcDrawText</function>, and so on</entry>
<entry>Locale of supplied text</entry>
</row>
<row>
<entry></entry>
- <entry><function>XExtentsOfFontSet ,</function> and so on</entry>
+ <entry><function>XExtentsOfFontSet</function>, and so on</entry>
<entry>Locale-dependent metrics</entry>
</row>
<row>
<entry></entry>
- <entry><function>XmbTextExtents ,</function></entry>
+ <entry><function>XmbTextExtents</function>,</entry>
</row>
<row>
<entry></entry>
- <entry><function>XwcTextExtents , </function> and so on</entry>
+ <entry><function>XwcTextExtents</function>, and so on</entry>
</row>
<row>
<entry></entry>
@@ -501,11 +501,11 @@ with a non-NULL argument, they must save and restore the current state on
entry and exit.)
Also, Xlib functions on implementations that conform to the ANSI C library do
not alter the global state associated with the ANSI C functions
-<function>mblen , </function>
-<function>mbtowc , </function>
-<function>wctomb ,</function>
+<function>mblen</function>,
+<function>mbtowc</function>,
+<function>wctomb</function>,
and
-<function>strtok .</function>
+<function>strtok</function>.
</para>
</sect1>
<sect1 id="Variable_Argument_Lists">
@@ -520,7 +520,7 @@ to the ANSI C variable argument list calling convention.
Each function denoted with an argument of the form ``...'' takes
a variable-length list of name and value pairs,
where each name is a string and each value is of type
-<function>XPointer .</function>
+<function>XPointer</function>.
A name argument that is NULL identifies the end of the list.
</para>
<para>
@@ -539,7 +539,7 @@ A NULL identifies the end of a nested list.
<!-- .LP -->
<!-- .sp -->
To allocate a nested variable argument list dynamically, use
-<function>XVaCreateNestedList .</function>
+<function>XVaCreateNestedList</function>.
<indexterm significance="preferred"><primary>XVaCreateNestedList</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -711,7 +711,7 @@ data type.
The abstraction for representing the state of a particular output thread
is called an <emphasis remap='I'>output context</emphasis>.
The Xlib representation of an output context is an
-<function>XOC ,</function>
+<function>XOC</function>,
which is compatible with
<function>XFontSet</function>
in terms of its functional interface, but is
@@ -726,7 +726,7 @@ a broader, more generalized abstraction.
<para>
<!-- .LP -->
To open an output method, use
-<function>XOpenOM .</function>
+<function>XOpenOM</function>.
<indexterm significance="preferred"><primary>XOpenOM</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -831,7 +831,7 @@ if res_name or res_class is NULL.
<!-- .LP -->
The res_name and res_class arguments are not assumed to exist beyond
the call to
-<function>XOpenOM .</function>
+<function>XOpenOM</function>.
The specified resource database is assumed to exist for the lifetime
of the output method.
</para>
@@ -844,7 +844,7 @@ returns NULL if no output method could be opened.
<!-- .LP -->
<!-- .sp -->
To close an output method, use
-<function>XCloseOM .</function>
+<function>XCloseOM</function>.
<indexterm significance="preferred"><primary>XCloseOM</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -878,7 +878,7 @@ function closes the specified output method.
<!-- .LP -->
<!-- .sp -->
To set output method attributes, use
-<function>XSetOMValues .</function>
+<function>XSetOMValues</function>.
<indexterm significance="preferred"><primary>XSetOMValues</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -931,7 +931,7 @@ No standard arguments are currently defined by Xlib.
<!-- .LP -->
<!-- .sp -->
To query an output method, use
-<function>XGetOMValues .</function>
+<function>XGetOMValues</function>.
<indexterm significance="preferred"><primary>XGetOMValues</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -979,7 +979,7 @@ it returns the name of the first argument that could not be obtained.
<para>
<!-- .LP -->
To obtain the display associated with an output method, use
-<function>XDisplayOfOM .</function>
+<function>XDisplayOfOM</function>.
<indexterm significance="preferred"><primary>XDisplayOfOM</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1013,7 +1013,7 @@ function returns the display associated with the specified output method.
<!-- .LP -->
<!-- .sp -->
To get the locale associated with an output method, use
-<function>XLocaleOfOM .</function>
+<function>XLocaleOfOM</function>.
<indexterm significance="preferred"><primary>XLocaleOfOM</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1077,7 +1077,7 @@ The following key applies to this table.
<tbody>
<row>
<entry>G</entry>
- <entry>This value may be read using <function>XGetOMValues .</function></entry>
+ <entry>This value may be read using <function>XGetOMValues</function>.</entry>
</row>
</tbody>
</tgroup>
@@ -1129,7 +1129,7 @@ The
argument returns the list of charsets that are required for loading the fonts
needed for the locale.
The value of the argument is a pointer to a structure of type
-<function>XOMCharSetList .</function>
+<function>XOMCharSetList</function>.
</para>
<para>
<!-- .LP -->
@@ -1163,7 +1163,7 @@ freed by the client.
It will be freed by a call to
<function>XCloseOM</function>
with the associated
-<function>XOM .</function>
+<function>XOM</function>.
Until freed, its contents will not be modified by Xlib.
</para>
<para>
@@ -1181,14 +1181,14 @@ The
<function>XNQueryOrientation</function>
argument returns the global orientation of text when drawn.
Other than
-<function>XOMOrientation_LTR_TTB ,</function>
+<function>XOMOrientation_LTR_TTB</function>,
the set of orientations supported is locale-dependent.
The value of the argument is a pointer to a structure of type
-<function>XOMOrientation .</function>
+<function>XOMOrientation</function>.
Clients are responsible for freeing the
<function>XOMOrientation</function>
structure by using
-<function>XFree ;</function>
+<function>XFree</function>;
this also frees the contents of the structure.
</para>
@@ -1264,11 +1264,11 @@ The
argument indicates whether the text rendering functions
implement implicit handling of directional text. If this value
is
-<function>True ,</function>
+<function>True</function>,
the output method has knowledge of directional
dependencies and reorders text as necessary when
rendering text. If this value is
-<function>False ,</function>
+<function>False</function>,
the output method does not implement any directional text
handling, and all character directions are assumed to be left-to-right.
</para>
@@ -1296,7 +1296,7 @@ The
<function>XNContextualDrawing</function>
argument indicates whether the text rendering functions
implement implicit context-dependent drawing. If this value is
-<function>True ,</function>
+<function>True</function>,
the output method has knowledge of context dependencies and
performs character shape editing, combining glyphs to present
a single character as necessary. The actual shape editing is
@@ -1343,13 +1343,13 @@ However,
is widely used in several interfaces, so
<function>XOC</function>
is defined as an upward compatible type of
-<function>XFontSet .</function>
+<function>XFontSet</function>.
</para>
<para>
<!-- .LP -->
<!-- .sp -->
To create an output context, use
-<function>XCreateOC .</function>
+<function>XCreateOC</function>.
<indexterm significance="preferred"><primary>XCreateOC</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1435,7 +1435,7 @@ error.
<!-- .LP -->
<!-- .sp -->
To destroy an output context, use
-<function>XDestroyOC .</function>
+<function>XDestroyOC</function>.
<indexterm significance="preferred"><primary>XDestroyOC</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1469,7 +1469,7 @@ function destroys the specified output context.
<!-- .LP -->
<!-- .sp -->
To get the output method associated with an output context, use
-<function>XOMOfOC .</function>
+<function>XOMOfOC</function>.
<indexterm significance="preferred"><primary>XOMOfOC</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1507,7 +1507,7 @@ Xlib provides two functions for setting and reading output context values,
respectively,
<function>XSetOCValues</function>
and
-<function>XGetOCValues .</function>
+<function>XGetOCValues</function>.
Both functions have a variable-length argument list.
In that argument list, any <acronym>XOC</acronym> value's name must be denoted
with a character string using the X Portable Character Set.
@@ -1516,7 +1516,7 @@ with a character string using the X Portable Character Set.
<!-- .LP -->
<!-- .sp -->
To set <acronym>XOC</acronym> values, use
-<function>XSetOCValues .</function>
+<function>XSetOCValues</function>.
<indexterm significance="preferred"><primary>XSetOCValues</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1593,7 +1593,7 @@ error.
<!-- .LP -->
<!-- .sp -->
To obtain <acronym>XOC</acronym> values, use
-<function>XGetOCValues .</function>
+<function>XGetOCValues</function>.
<indexterm significance="preferred"><primary>XGetOCValues</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1686,20 +1686,20 @@ The following keys apply to this table.
<tbody>
<row>
<entry>C</entry>
- <entry>This value must be set with <function>XCreateOC .</function></entry>
+ <entry>This value must be set with <function>XCreateOC</function>.</entry>
</row>
<row>
<entry>D</entry>
- <entry>This value may be set using <function>XCreateOC .</function>
+ <entry>This value may be set using <function>XCreateOC</function>.
If it is not set,a default is provided.</entry>
</row>
<row>
<entry>G</entry>
- <entry>This value may be read using <function>XGetOCValues .</function></entry>
+ <entry>This value may be read using <function>XGetOCValues</function>.</entry>
</row>
<row>
<entry>S</entry>
- <entry>This value must be set using <function>XSetOCValues .</function></entry>
+ <entry>This value must be set using <function>XSetOCValues</function>.</entry>
</row>
</tbody>
</tgroup>
@@ -1827,7 +1827,7 @@ the client.
The string will be freed by a call to
<function>XDestroyOC</function>
with the associated
-<function>XOC .</function>
+<function>XOC</function>.
Until freed, the string contents will not be modified by Xlib.
</para>
</sect3>
@@ -1843,7 +1843,7 @@ The
argument returns the list of required charsets that are missing from the
font set.
The value of the argument is a pointer to a structure of type
-<function>XOMCharSetList .</function>
+<function>XOMCharSetList</function>.
</para>
<para>
<!-- .LP -->
@@ -1864,7 +1864,7 @@ freed by the client.
It will be freed by a call to
<function>XDestroyOC</function>
with the associated
-<function>XOC .</function>
+<function>XOC</function>.
Until freed, its contents will not be modified by Xlib.
</para>
</sect3>
@@ -1891,7 +1891,7 @@ in the current locale and is not necessarily drawn with
the fonts loaded for the font set,
but the client can draw or measure the default glyphs
by including this string in a string being drawn or measured with the
-<function>XOC .</function>
+<function>XOC</function>.
</para>
<para>
<!-- .LP -->
@@ -1904,7 +1904,7 @@ It is owned by Xlib and should not be modified or freed by the client.
It will be freed by a call to
<function>XDestroyOC</function>
with the associated
-<function>XOC .</function>
+<function>XOC</function>.
Until freed, its contents will not be modified by Xlib.
</para>
</sect3>
@@ -1926,7 +1926,7 @@ argument specified in the
<function>XOrientation</function>
list.
The value of the argument is of type
-<function>XOrientation .</function>
+<function>XOrientation</function>.
When
<function>XNOrientation</function>
is queried, the value specifies the current orientation.
@@ -1943,7 +1943,7 @@ text is determined according to an implementation-defined method
(for example, ISO 6429 control sequences), and the initial text orientation for
locale-dependent Xlib functions is assumed to
be
-<function>XOMOrientation_LTR_TTB .</function>
+<function>XOMOrientation_LTR_TTB</function>.
</para>
<para>
<!-- .LP -->
@@ -1992,7 +1992,7 @@ The string will be freed by a call to
with the associated
<function>XOC</function>
or when the associated value is changed via
-<function>XSetOCValues .</function>
+<function>XSetOCValues</function>.
Until freed, the string contents will not be modified by Xlib.
</para>
</sect3>
@@ -2010,7 +2010,7 @@ argument specifies a list of one or more
structures
and font names for the fonts used for drawing by the given output context.
The value of the argument is a pointer to a structure of type
-<function>XOMFontInfo .</function>
+<function>XOMFontInfo</function>.
</para>
<para>
<!-- .LP -->
@@ -2053,7 +2053,7 @@ list to obtain these values for all the fonts currently in use.
<!-- .LP -->
Xlib does not guarantee that fonts are loaded from the server
at the creation of an
-<function>XOC .</function>
+<function>XOC</function>.
Xlib may choose to cache font data, loading it only as needed to draw text
or compute text dimensions.
Therefore, existence of the per_char metrics in the
@@ -2091,7 +2091,7 @@ function not only destroys the output context but also closes the implicit
output method associated with it,
<function>XFreeFontSet</function>
should be used with any output context created by
-<function>XCreateFontSet .</function>
+<function>XCreateFontSet</function>.
However, it is possible that a client does not know how the output context
was created.
Before a client destroys the output context,
@@ -2120,7 +2120,7 @@ The
<function>XFontSet</function>
is an opaque type representing the state of a particular output thread
and is equivalent to the type
-<function>XOC .</function>
+<function>XOC</function>.
</para>
<para>
<!-- .LP -->
@@ -2131,7 +2131,7 @@ function is a convenience function for creating an output context using
only default values. The returned
<function>XFontSet</function>
has an implicitly created
-<function>XOM .</function>
+<function>XOM</function>.
This
<function>XOM</function>
has an OM value
@@ -2141,7 +2141,7 @@ automatically set to
so that the output context self indicates whether it was created by
<function>XCreateOC</function>
or
-<function>XCreateFontSet .</function>
+<function>XCreateFontSet</function>.
<indexterm significance="preferred"><primary>XCreateFontSet</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2256,7 +2256,7 @@ function will return this <acronym>XLFD</acronym> name instead of the client-sup
<!-- .LP -->
Xlib uses the following algorithm to select the fonts
that will be used to display text with the
-<function>XFontSet .</function>
+<function>XFontSet</function>.
</para>
<para>
<!-- .LP -->
@@ -2384,7 +2384,7 @@ is set to zero.
If fonts exist for all of the charsets required by the current locale,
<function>XCreateFontSet</function>
returns a valid
-<function>XFontSet ,</function>
+<function>XFontSet</function>,
missing_charset_list_return is set to NULL,
and missing_charset_count_return is set to zero.
</para>
@@ -2430,7 +2430,7 @@ in the current locale and is not necessarily drawn with
the fonts loaded for the font set,
but the client can draw and measure the default glyphs
by including this string in a string being drawn or measured with the
-<function>XFontSet .</function>
+<function>XFontSet</function>.
</para>
<para>
<!-- .LP -->
@@ -2441,7 +2441,7 @@ It is owned by Xlib and should not be modified or freed by the client.
It will be freed by a call to
<function>XFreeFontSet</function>
with the associated
-<function>XFontSet .</function>
+<function>XFontSet</function>.
Until freed, its contents will not be modified by Xlib.
</para>
<para>
@@ -2457,11 +2457,11 @@ The returned
and missing charset list should be freed with
<function>XFreeFontSet</function>
and
-<function>XFreeStringList ,</function>
+<function>XFreeStringList</function>,
respectively.
The client-supplied base_font_name_list may be freed
by the client after calling
-<function>XCreateFontSet .</function>
+<function>XCreateFontSet</function>.
</para>
<para>
<!-- .LP -->
@@ -2469,9 +2469,9 @@ by the client after calling
To obtain a list of
<function>XFontStruct</function>
structures and full font names given an
-<function>XFontSet ,</function>
+<function>XFontSet</function>,
use
-<function>XFontsOfFontSet .</function>
+<function>XFontsOfFontSet</function>.
<indexterm significance="preferred"><primary>XFontsOfFontSet</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2550,7 +2550,7 @@ list to obtain these values for all the fonts currently in use.
<!-- .LP -->
Xlib does not guarantee that fonts are loaded from the server
at the creation of an
-<function>XFontSet .</function>
+<function>XFontSet</function>.
Xlib may choose to cache font data, loading it only as needed to draw text
or compute text dimensions.
Therefore, existence of the per_char metrics in the
@@ -2571,16 +2571,16 @@ and should not be modified or freed by the client.
They will be freed by a call to
<function>XFreeFontSet</function>
with the associated
-<function>XFontSet .</function>
+<function>XFontSet</function>.
Until freed, their contents will not be modified by Xlib.
</para>
<para>
<!-- .LP -->
<!-- .sp -->
To obtain the base font name list and the selected font name list given an
-<function>XFontSet ,</function>
+<function>XFontSet</function>,
use
-<function>XBaseFontNameListOfFontSet .</function>
+<function>XBaseFontNameListOfFontSet</function>.
<indexterm significance="preferred"><primary>XBaseFontNameListOfFontSet</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2633,16 +2633,16 @@ freed by the client.
It will be freed by a call to
<function>XFreeFontSet</function>
with the associated
-<function>XFontSet .</function>
+<function>XFontSet</function>.
Until freed, its contents will not be modified by Xlib.
</para>
<para>
<!-- .LP -->
<!-- .sp -->
To obtain the locale name given an
-<function>XFontSet ,</function>
+<function>XFontSet</function>,
use
-<function>XLocaleOfFontSet .</function>
+<function>XLocaleOfFontSet</function>.
<indexterm significance="preferred"><primary>XLocaleOfFontSet</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2672,7 +2672,7 @@ The
<function>XLocaleOfFontSet</function>
function
returns the name of the locale bound to the specified
-<function>XFontSet ,</function>
+<function>XFontSet</function>,
as a null-terminated string.
</para>
<para>
@@ -2682,7 +2682,7 @@ and should not be modified or freed by the client.
It may be freed by a call to
<function>XFreeFontSet</function>
with the associated
-<function>XFontSet .</function>
+<function>XFontSet</function>.
Until freed, it will not be modified by Xlib.
</para>
<para>
@@ -2695,7 +2695,7 @@ function is a convenience function for freeing an output context.
also frees its associated
<function>XOM</function>
if the output context was created by
-<function>XCreateFontSet .</function>
+<function>XCreateFontSet</function>.
<indexterm significance="preferred"><primary>XFreeFontSet</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2738,7 +2738,7 @@ function frees the specified font set.
The associated base font name list, font name list,
<function>XFontStruct</function>
list, and
-<function>XFontSetExtents , </function>
+<function>XFontSetExtents</function>,
if any, are freed.
</para>
</sect2>
@@ -2778,7 +2778,7 @@ of the drawing origin.
The screen location of a particular character image may be determined with
<function>XmbTextPerCharExtents</function>
or
-<function>XwcTextPerCharExtents .</function>
+<function>XwcTextPerCharExtents</function>.
</para>
<para>
<!-- .LP -->
@@ -2789,7 +2789,7 @@ A string of two characters drawn with
<function>XmbDrawString</function>
may render differently than if the two characters
were drawn with separate calls to
-<function>XmbDrawString .</function>
+<function>XmbDrawString</function>.
If the client appends or inserts a character
in a previously drawn string,
the client may need to redraw some adjacent characters
@@ -2799,7 +2799,7 @@ to obtain proper rendering.
<!-- .LP -->
<!-- .sp -->
To find out about direction-dependent rendering, use
-<function>XDirectionalDependentDrawing .</function>
+<function>XDirectionalDependentDrawing</function>.
<indexterm significance="preferred"><primary>XDirectionalDependentDrawing</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2831,13 +2831,13 @@ function returns
<function>True</function>
if the drawing functions implement implicit text directionality;
otherwise, it returns
-<function>False .</function>
+<function>False</function>.
</para>
<para>
<!-- .LP -->
<!-- .sp -->
To find out about context-dependent rendering, use
-<function>XContextualDrawing .</function>
+<function>XContextualDrawing</function>.
<indexterm significance="preferred"><primary>XContextualDrawing</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2869,13 +2869,13 @@ function returns
<function>True</function>
if text drawn with the font set might include context-dependent drawing;
otherwise, it returns
-<function>False .</function>
+<function>False</function>.
</para>
<para>
<!-- .LP -->
<!-- .sp -->
To find out about context-dependent or direction-dependent rendering, use
-<function>XContextDependentDrawing .</function>
+<function>XContextDependentDrawing</function>.
<indexterm significance="preferred"><primary>XContextDependentDrawing</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2908,7 +2908,7 @@ function returns
if the drawing functions implement implicit text directionality or
if text drawn with the font_set might include context-dependent drawing;
otherwise, it returns
-<function>False .</function>
+<function>False</function>.
</para>
<para>
<!-- .LP -->
@@ -2981,15 +2981,15 @@ individual extent.
The rectangles for a given character in a string can be obtained from
<function>XmbPerCharExtents</function>
or
-<function>XwcPerCharExtents .</function>
+<function>XwcPerCharExtents</function>.
</para>
<para>
<!-- .LP -->
<!-- .sp -->
To obtain the maximum extents structure given an
-<function>XFontSet ,</function>
+<function>XFontSet</function>,
use
-<function>XExtentsOfFontSet .</function>
+<function>XExtentsOfFontSet</function>.
<indexterm significance="preferred"><primary>XExtentsOfFontSet</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3031,7 +3031,7 @@ or freed by the client.
It will be freed by a call to
<function>XFreeFontSet</function>
with the associated
-<function>XFontSet .</function>
+<function>XFontSet</function>.
Until freed, its contents will not be modified by Xlib.
</para>
<para>
@@ -3041,7 +3041,7 @@ To obtain the escapement in pixels of the specified text as a value,
use
<function>XmbTextEscapement</function>
or
-<function>XwcTextEscapement .</function>
+<function>XwcTextEscapement</function>.
<indexterm significance="preferred"><primary>XmbTextEscapement</primary></indexterm>
<indexterm significance="preferred"><primary>XwcTextEscapement</primary></indexterm>
<!-- .sM -->
@@ -3133,7 +3133,7 @@ the overall bounding box of the string's image, and a logical bounding box,
use
<function>XmbTextExtents</function>
or
-<function>XwcTextExtents .</function>
+<function>XwcTextExtents</function>.
<indexterm significance="preferred"><primary>XmbTextExtents</primary></indexterm>
<indexterm significance="preferred"><primary>XwcTextExtents</primary></indexterm>
<!-- .sM -->
@@ -3237,7 +3237,7 @@ and a logical bounding box for spacing purposes, respectively.
They return the value returned by
<function>XmbTextEscapement</function>
or
-<function>XwcTextEscapement .</function>
+<function>XwcTextEscapement</function>.
These metrics are relative to the drawing origin of the string,
using the fonts loaded for the specified font set.
</para>
@@ -3293,7 +3293,7 @@ To obtain per-character information for a text string,
use
<function>XmbTextPerCharExtents</function>
or
-<function>XwcTextPerCharExtents .</function>
+<function>XwcTextPerCharExtents</function>.
<indexterm significance="preferred"><primary>XmbTextPerCharExtents</primary></indexterm>
<indexterm significance="preferred"><primary>XwcTextPerCharExtents</primary></indexterm>
<!-- .sM -->
@@ -3498,7 +3498,7 @@ return the maximum extent of the string's metrics to overall_ink_return
or overall_logical_return, as returned by
<function>XmbTextExtents</function>
or
-<function>XwcTextExtents .</function>
+<function>XwcTextExtents</function>.
</para>
</sect2>
<sect2 id="Drawing_Text_Using_Font_Sets">
@@ -3511,8 +3511,8 @@ or
The functions defined in this section
draw text at a specified location in a drawable.
They are similar to the functions
-<function>XDrawText ,</function>
-<function>XDrawString ,</function>
+<function>XDrawText</function>,
+<function>XDrawString</function>,
and
<function>XDrawImageString</function>
except that they work with font sets instead of single fonts
@@ -3575,7 +3575,7 @@ typedef struct {
To draw text using multiple font sets in a given drawable, use
<function>XmbDrawText</function>
or
-<function>XwcDrawText .</function>
+<function>XwcDrawText</function>.
<indexterm significance="preferred"><primary>XmbDrawText</primary></indexterm>
<indexterm significance="preferred"><primary>XwcDrawText</primary></indexterm>
<!-- .sM -->
@@ -3712,12 +3712,12 @@ and
or
<function>XmbTextPerCharExtents</function>
and
-<function>XwcTextPerCharExtents .</function>
+<function>XwcTextPerCharExtents</function>.
When the
<function>XFontSet</function>
has missing charsets, each unavailable character is drawn
with the default string returned by
-<function>XCreateFontSet .</function>
+<function>XCreateFontSet</function>.
The behavior for an invalid codepoint is undefined.
</para>
<para>
@@ -3726,7 +3726,7 @@ The behavior for an invalid codepoint is undefined.
To draw text using a single font set in a given drawable, use
<function>XmbDrawString</function>
or
-<function>XwcDrawString .</function>
+<function>XwcDrawString</function>.
<indexterm significance="preferred"><primary>XmbDrawString</primary></indexterm>
<indexterm significance="preferred"><primary>XwcDrawString</primary></indexterm>
<!-- .sM -->
@@ -3863,7 +3863,7 @@ When the
<function>XFontSet</function>
has missing charsets, each unavailable character is drawn
with the default string returned by
-<function>XCreateFontSet .</function>
+<function>XCreateFontSet</function>.
The behavior for an invalid codepoint is undefined.
</para>
<para>
@@ -3872,7 +3872,7 @@ The behavior for an invalid codepoint is undefined.
To draw image text using a single font set in a given drawable, use
<function>XmbDrawImageString</function>
or
-<function>XwcDrawImageString .</function>
+<function>XwcDrawImageString</function>.
<indexterm significance="preferred"><primary>XmbDrawImageString</primary></indexterm>
<indexterm significance="preferred"><primary>XwcDrawImageString</primary></indexterm>
<!-- .sM -->
@@ -4011,7 +4011,7 @@ The filled rectangle is the rectangle returned to overall_logical_return by
or
<function>XwcTextExtents</function>
for the same text and
-<function>XFontSet .</function>
+<function>XFontSet</function>.
</para>
<para>
<!-- .LP -->
@@ -4019,7 +4019,7 @@ When the
<function>XFontSet</function>
has missing charsets, each unavailable character is drawn
with the default string returned by
-<function>XCreateFontSet .</function>
+<function>XCreateFontSet</function>.
The behavior for an invalid codepoint is undefined.
</para>
</sect2>
@@ -4317,7 +4317,7 @@ Often, this type of window is placed at the bottom of the application window.
<para>
<emphasis remap='I'>Root-window</emphasis> preediting refers to input methods that use a preedit
window that is the child of
-<function>RootWindow .</function>
+<function>RootWindow</function>.
</para>
</listitem>
</itemizedlist>
@@ -4421,7 +4421,7 @@ and the user possibly switching among them at any time.
The abstraction for representing the state of a particular input thread
is called an <emphasis remap='I'>input context</emphasis>.
The Xlib representation of an input context is an
-<function>XIC .</function>
+<function>XIC</function>.
</para>
<para>
<!-- .LP -->
@@ -4448,7 +4448,7 @@ function, providing an
argument and affiliating the input context to the input method
for its lifetime.
When an input method is closed with
-<function>XCloseIM ,</function>
+<function>XCloseIM</function>,
all of its affiliated input contexts should not be used any more
(and should preferably be destroyed before closing the input method).
</para>
@@ -4531,7 +4531,7 @@ with the appropriate input context.
Also, when the application focus moves out of a text entry area, the
application should unset the focus for the associated input context
by calling
-<function>XUnsetICFocus .</function>
+<function>XUnsetICFocus</function>.
As an optimization, if
<function>XSetICFocus</function>
is called successively on two different input contexts,
@@ -4612,13 +4612,13 @@ or
in its
<function>XIMStyles</function>
value returned by
-<function>XGetIMValues .</function>
+<function>XGetIMValues</function>.
When a client has decided that it will provide geometry management
for an input method,
it indicates that decision by setting the
<function>XNInputStyle</function>
value in the
-<function>XIC .</function>
+<function>XIC</function>.
</para>
<para>
<!-- .LP -->
@@ -4641,7 +4641,7 @@ Otherwise, it will set one of the values.
<listitem>
<para>
The client will get the <acronym>XIC</acronym> value
-<function>XNAreaNeeded .</function>
+<function>XNAreaNeeded</function>.
The input method will return its suggested size in this value.
The input method should pay attention to any constraints suggested
by the client.
@@ -4753,7 +4753,7 @@ When the user enters a keystroke,
the client calls
<function>XmbLookupString</function>
or
-<function>XwcLookupString .</function>
+<function>XwcLookupString</function>.
At this point, in the on-the-spot case,
the echo of the keystroke in the preedit has not yet been done.
Before returning to the client logic that handles the input characters,
@@ -4813,7 +4813,7 @@ In this case, composition consists of interpreting a sequence
of key events and returning a committed string via
<function>XmbLookupString</function>
or
-<function>XwcLookupString .</function>
+<function>XwcLookupString</function>.
This provides the basics for input methods.
</para>
<para>
@@ -4899,7 +4899,7 @@ For this reason, an input method supporting this type of conversion
should take notice of when the client calls
<function>XmbResetIC</function>
or
-<function>XwcResetIC ,</function>
+<function>XwcResetIC</function>,
which is usually an indication of a context change.
</para>
</listitem>
@@ -4992,9 +4992,9 @@ additional text.
<!-- .LP -->
The interface to input methods might appear to be simply creating
an input method
-<function>( XOpenIM )</function>
+(<function>XOpenIM</function>)
and freeing an input method
-<function>( XCloseIM ).</function>
+(<function>XCloseIM</function>).
However, input methods may
require complex communication with input method servers (IM servers),
for example:
@@ -5050,7 +5050,7 @@ functions are provided:
<row>
<entry><function>XSetIMValue</function>, <function>XSetICValue</function></entry>
<entry>These functions use the <acronym>XIM</acronym> and <acronym>XIC</acronym> values,
- <function>XNDestroyCallback ,</function>
+ <function>XNDestroyCallback</function>,
to allow a client
to register a callback procedure to be called when Xlib detects that
an IM server that was associated with an opened
@@ -5155,7 +5155,7 @@ In order to change the preedit state programmatically, an application
needs to call
<function>XSetICValues</function>
with
-<function>XNPreeditState.</function>
+<function>XNPreeditState</function>.
</para>
<para>
<!-- .LP -->
@@ -5179,7 +5179,7 @@ IM value.
<para>
<!-- .LP -->
To open a connection, use
-<function>XOpenIM .</function>
+<function>XOpenIM</function>.
<indexterm significance="preferred"><primary>XOpenIM</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -5247,7 +5247,7 @@ The locale associated with an input method cannot be changed dynamically.
This implies that the strings returned by
<function>XmbLookupString</function>
or
-<function>XwcLookupString ,</function>
+<function>XwcLookupString</function>,
for any input context affiliated with a given input method,
will be encoded in the locale current at the time the input method is opened.
</para>
@@ -5287,7 +5287,7 @@ if res_name or res_class is NULL.
<!-- .LP -->
The res_name and res_class arguments are not assumed to exist beyond
the call to
-<function>XOpenIM .</function>
+<function>XOpenIM</function>.
The specified resource database is assumed to exist for the lifetime
of the input method.
</para>
@@ -5300,7 +5300,7 @@ returns NULL if no input method could be opened.
<!-- .LP -->
<!-- .sp -->
To close a connection, use
-<function>XCloseIM .</function>
+<function>XCloseIM</function>.
<indexterm significance="preferred"><primary>XCloseIM</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -5334,7 +5334,7 @@ function closes the specified input method.
<!-- .LP -->
<!-- .sp -->
To set input method attributes, use
-<function>XSetIMValues .</function>
+<function>XSetIMValues</function>.
<indexterm significance="preferred"><primary>XSetIMValues</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -5387,7 +5387,7 @@ correctly.
<!-- .LP -->
<!-- .sp -->
To query an input method, use
-<function>XGetIMValues .</function>
+<function>XGetIMValues</function>.
<indexterm significance="preferred"><primary>XGetIMValues</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -5450,7 +5450,7 @@ with the returned pointer.
<!-- .LP -->
<!-- .sp -->
To obtain the display associated with an input method, use
-<function>XDisplayOfIM .</function>
+<function>XDisplayOfIM</function>.
<indexterm significance="preferred"><primary>XDisplayOfIM</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -5484,7 +5484,7 @@ function returns the display associated with the specified input method.
<!-- .LP -->
<!-- .sp -->
To get the locale associated with an input method, use
-<function>XLocaleOfIM .</function>
+<function>XLocaleOfIM</function>.
<indexterm significance="preferred"><primary>XLocaleOfIM</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -5518,7 +5518,7 @@ function returns the locale associated with the specified input method.
<!-- .LP -->
<!-- .sp -->
To register an input method instantiate callback, use
-<function>XRegisterIMInstantiateCallback .</function>
+<function>XRegisterIMInstantiateCallback</function>.
<indexterm significance="preferred"><primary>XRegisterIMInstantiateCallback</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -5610,7 +5610,7 @@ locale and modifiers.
The function returns
<function>True</function>
if it succeeds; otherwise, it returns
-<function>False .</function>
+<function>False</function>.
</para>
<para>
<!-- .LP -->
@@ -5663,7 +5663,7 @@ Not used for this callback and always passed as NULL.
<!-- .LP -->
<!-- .eM -->
To unregister an input method instantiation callback, use
-<function>XUnregisterIMInstantiateCallback .</function>
+<function>XUnregisterIMInstantiateCallback</function>.
<indexterm significance="preferred"><primary>XUnregisterIMInstantiateCallback</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -5751,7 +5751,7 @@ registered.
The function returns
<function>True</function>
if it succeeds; otherwise, it returns
-<function>False .</function>
+<function>False</function>.
</para>
</sect2>
<sect2 id="Input_Method_Values">
@@ -5788,17 +5788,17 @@ The following keys apply to this table.
<row>
<entry>D</entry>
<entry>This value may be set using
- <function>XSetIMValues .</function>
+ <function>XSetIMValues</function>.
If it is not set,
a default is provided.</entry>
</row>
<row>
<entry>S</entry>
- <entry>This value may be set using <function>XSetIMValues .</function></entry>
+ <entry>This value may be set using <function>XSetIMValues</function>.</entry>
</row>
<row>
<entry>G</entry>
- <entry>This value may be read using <function>XGetIMValues .</function></entry>
+ <entry>This value may be read using <function>XGetIMValues</function>.</entry>
</row>
</tbody>
</tgroup>
@@ -5880,12 +5880,12 @@ it should negotiate with the user the continuation of the program
The argument value must be a pointer to a location
where the returned value will be stored.
The returned value is a pointer to a structure of type
-<function>XIMStyles .</function>
+<function>XIMStyles</function>.
Clients are responsible for freeing the
<function>XIMStyles</function>
structure.
To do so, use
-<function>XFree .</function>
+<function>XFree</function>.
</para>
<para>
<!-- .LP -->
@@ -5972,7 +5972,7 @@ by the input method for preedit information.
Refer to <acronym>XIC</acronym> values
<function>XNArea</function>
and
- <function>XNAreaNeeded .</function></entry>
+ <function>XNAreaNeeded</function>.</entry>
</row>
<row>
<entry><function>XIMPreeditPosition</function></entry>
@@ -5981,18 +5981,18 @@ by the input method for preedit information.
Refer to <acronym>XIC</acronym> values
<function>XNSpotLocation</function>
and
- <function>XNFocusWindow .</function></entry>
+ <function>XNFocusWindow</function>.</entry>
</row>
<row>
<entry><function>XIMPreeditCallbacks</function></entry>
<entry>If chosen,
the input method would require the client to define the set of preedit callbacks.
Refer to <acronym>XIC</acronym> values
- <function>XNPreeditStartCallback ,</function>
- <function>XNPreeditDoneCallback , </function>
- <function>XNPreeditDrawCallback ,</function>
+ <function>XNPreeditStartCallback</function>,
+ <function>XNPreeditDoneCallback</function>,
+ <function>XNPreeditDrawCallback</function>,
and
- <function>XNPreeditCaretCallback .</function></entry>
+ <function>XNPreeditCaretCallback</function>.</entry>
</row>
<row>
<entry><function>XIMPreeditNothing</function></entry>
@@ -6029,15 +6029,15 @@ by the input method for status information.
See
<function>XNArea</function>
and
- <function>XNAreaNeeded .</function></entry>
+ <function>XNAreaNeeded</function>.</entry>
</row>
<row>
<entry><function>XIMStatusCallbacks</function></entry>
<entry>The input method requires the client to define the set of status callbacks,
- <function>XNStatusStartCallback , </function>
- <function>XNStatusDoneCallback ,</function>
+ <function>XNStatusStartCallback</function>,
+ <function>XNStatusDoneCallback</function>,
and
- <function>XNStatusDrawCallback .</function></entry>
+ <function>XNStatusDrawCallback</function>.</entry>
</row>
<row>
<entry><function>XIMStatusNothing</function></entry>
@@ -6091,7 +6091,7 @@ set as resources.
The
<function>XNDestroyCallback </function>
argument is a pointer to a structure of type
-<function>XIMCallback .</function>
+<function>XIMCallback</function>.
<function>XNDestroyCallback</function>
is triggered when an input method stops its service for any reason.
After the callback is invoked, the input method is closed and the
@@ -6099,7 +6099,7 @@ associated input context(s) are destroyed by Xlib.
Therefore, the client should not call
<function>XCloseIM</function>
or
-<function>XDestroyIC .</function>
+<function>XDestroyIC</function>.
</para>
<para>
<!-- .LP -->
@@ -6174,12 +6174,12 @@ are used to query about <acronym>XIM</acronym> and <acronym>XIC</acronym> values
The argument value must be a pointer to a location where the returned
value will be stored. The returned value is a pointer to a structure
of type
-<function>XIMValuesList .</function>
+<function>XIMValuesList</function>.
Clients are responsible for freeing the
<function>XIMValuesList</function>
structure.
To do so, use
-<function>XFree .</function>
+<function>XFree</function>.
</para>
<para>
<!-- .LP -->
@@ -6220,13 +6220,13 @@ are available.
<!-- .LP -->
The argument value must be a pointer to a location where the returned
value will be stored. The returned value is of type
-<function>Bool .</function>
+<function>Bool</function>.
If the returned value is
-<function>True ,</function>
+<function>True</function>,
the input method uses the visible position masks of
<function>XIMFeedback</function>
in
-<function>XIMText ;</function>
+<function>XIMText</function>;
otherwise, the input method does not use the masks.
</para>
<para>
@@ -6239,7 +6239,7 @@ before using this argument.
If the
<function>XNVisiblePosition</function>
does not exist in the IM values list returned from
-<function>XNQueryIMValues ,</function>
+<function>XNQueryIMValues</function>,
the visible position masks of
<function>XIMFeedback</function>
in
@@ -6269,7 +6269,7 @@ the R6 PreeditDrawCallbacks was going to differ significantly from
that of the R5 callbacks.
Late changes to the specification converged the R5 and R6 behaviors,
eliminating the need for
-<function>XNR6PreeditCallbackBehavior .</function>
+<function>XNR6PreeditCallbackBehavior</function>.
Unfortunately, this argument was not removed from the R6 specification
before it was published.
<!-- .FE -->
@@ -6285,19 +6285,19 @@ values follows Release 5 or Release 6 semantics.
<para>
<!-- .LP -->
The value is of type
-<function>Bool .</function>
+<function>Bool</function>.
When querying for
-<function>XNR6PreeditCallbackBehavior ,</function>
+<function>XNR6PreeditCallbackBehavior</function>,
if the returned value is
-<function>True ,</function>
+<function>True</function>,
the input method uses the Release 6 behavior;
otherwise, it uses the Release 5 behavior.
The default value is
-<function>False .</function>
+<function>False</function>.
In order to use Release 6 semantics, the value of
<function>XNR6PreeditCallbackBehavior</function>
must be set to
-<function>True .</function>
+<function>True</function>.
</para>
<para>
<!-- .LP -->
@@ -6309,7 +6309,7 @@ before using this argument.
If the
<function>XNR6PreeditCallbackBehavior</function>
does not exist in the IM values list returned from
-<function>XNQueryIMValues ,</function>
+<function>XNQueryIMValues</function>,
the PreeditCallback behavior is Release 5 semantics.
</para>
<para>
@@ -6339,7 +6339,7 @@ they should be registered with the X Consortium.
<!-- .LP -->
<!-- .sp -->
To create an input context, use
-<function>XCreateIC .</function>
+<function>XCreateIC</function>.
<indexterm significance="preferred"><primary>XCreateIC</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -6403,7 +6403,7 @@ A required argument was not set.
<listitem>
<para>
A read-only argument was set (for example,
-<function>XNFilterEvents ).</function>
+<function>XNFilterEvents</function>).
</para>
</listitem>
<listitem>
@@ -6421,9 +6421,9 @@ The input method encountered an input method implementation-dependent error.
<!-- .LP -->
<function>XCreateIC</function>
can generate
-<function>BadAtom ,</function>
-<function>BadColor ,</function>
-<function>BadPixmap ,</function>
+<function>BadAtom</function>,
+<function>BadColor</function>,
+<function>BadPixmap</function>,
and
<function>BadWindow</function>
errors.
@@ -6432,7 +6432,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To destroy an input context, use
-<function>XDestroyIC .</function>
+<function>XDestroyIC</function>.
<indexterm significance="preferred"><primary>XDestroyIC</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -6469,7 +6469,7 @@ for any changes in keyboard focus from the client side,
use
<function>XSetICFocus</function>
and
-<function>XUnsetICFocus .</function>
+<function>XUnsetICFocus</function>.
<indexterm significance="preferred"><primary>XSetICFocus</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -6558,7 +6558,7 @@ events from the input method that are directed to the focus window.
To reset the state of an input context to its initial state, use
<function>XmbResetIC</function>
or
-<function>XwcResetIC .</function>
+<function>XwcResetIC</function>.
<indexterm significance="preferred"><primary>XmbResetIC</primary></indexterm>
<indexterm significance="preferred"><primary>XwcResetIC</primary></indexterm>
<!-- .sM -->
@@ -6595,7 +6595,7 @@ Specifies the input context.
When
<function>XNResetState</function>
is set to
-<function>XIMInitialState ,</function>
+<function>XIMInitialState</function>,
<function>XmbResetIC</function>
and
<function>XwcResetIC</function>
@@ -6603,7 +6603,7 @@ reset an input context to its initial state;
when
<function>XNResetState</function>
is set to
-<function>XIMPreserveState ,</function>
+<function>XIMPreserveState</function>,
the current input context state is preserved.
In both cases, any input pending on that context is deleted.
The input method is required to clear the preedit area, if any,
@@ -6628,13 +6628,13 @@ whether these procedures return a non-NULL string or NULL.
<para>
<!-- .LP -->
The client should free the returned string by calling
-<function>XFree .</function>
+<function>XFree</function>.
</para>
<para>
<!-- .LP -->
<!-- .sp -->
To get the input method associated with an input context, use
-<function>XIMOfIC .</function>
+<function>XIMOfIC</function>.
<indexterm significance="preferred"><primary>XIMOfIC</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -6670,7 +6670,7 @@ function returns the input method associated with the specified input context.
Xlib provides two functions for setting and reading <acronym>XIC</acronym> values, respectively,
<function>XSetICValues</function>
and
-<function>XGetICValues .</function>
+<function>XGetICValues</function>.
Both functions have a variable-length argument list.
In that argument list, any <acronym>XIC</acronym> value's name must be denoted
with a character string using the X Portable Character Set.
@@ -6679,7 +6679,7 @@ with a character string using the X Portable Character Set.
<!-- .LP -->
<!-- .sp -->
To set <acronym>XIC</acronym> values, use
-<function>XSetICValues .</function>
+<function>XSetICValues</function>.
<indexterm significance="preferred"><primary>XSetICValues</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -6727,7 +6727,7 @@ An argument might not be set for any of the following reasons:
<listitem>
<para>
The argument is read-only (for example,
-<function>XNFilterEvents ).</function>
+<function>XNFilterEvents</function>).
</para>
</listitem>
<listitem>
@@ -6750,10 +6750,10 @@ matching the data type imposed by the semantics of the argument.
<!-- .LP -->
<function>XSetICValues</function>
can generate
-<function>BadAtom ,</function>
-<function>BadColor ,</function>
-<function>BadCursor ,</function>
-<function>BadPixmap ,</function>
+<function>BadAtom</function>,
+<function>BadColor</function>,
+<function>BadCursor</function>,
+<function>BadPixmap</function>,
and
<function>BadWindow </function>
errors.
@@ -6762,7 +6762,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To obtain <acronym>XIC</acronym> values, use
-<function>XGetICValues .</function>
+<function>XGetICValues</function>.
<indexterm significance="preferred"><primary>XGetICValues</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -6834,7 +6834,7 @@ The exception to this rule is for an IC value of type
<function>XVaNestedList</function>
(for preedit and status attributes).
In this case, the argument must also be of type
-<function>XVaNestedList .</function>
+<function>XVaNestedList</function>.
Then, the rule of changing type T to T* and freeing the allocated data
applies to each element of the nested list.
</para>
@@ -6877,26 +6877,26 @@ The following keys apply to these tables.
<tbody>
<row>
<entry>C</entry>
- <entry>This value must be set with <function>XCreateIC .</function></entry>
+ <entry>This value must be set with <function>XCreateIC</function>.</entry>
</row>
<row>
<entry>D</entry>
<entry>This value may be set using
- <function>XCreateIC .</function>>
+ <function>XCreateIC</function>.>
If it is not set,>
a default is provided.</entry>
</row>
<row>
<entry>G</entry>
<entry>This value may be read using
- <function>XGetICValues .</function></entry>
+ <function>XGetICValues</function>.</entry>
</row>
<row>
<entry>GN</entry>
<entry>This value may cause geometry negotiation when its value is set by means of
<function>XCreateIC</function>
or
- <function>XSetICValues .</function></entry>
+ <function>XSetICValues</function>.</entry>
</row>
<row>
<entry>GR</entry>
@@ -6915,7 +6915,7 @@ The following keys apply to these tables.
<row>
<entry>S</entry>
<entry>This value may be set with
- <function>XSetICValues .</function></entry>
+ <function>XSetICValues</function>.</entry>
</row>
<row>
<entry>Ignored</entry>
@@ -7394,11 +7394,11 @@ the input method may not operate correctly.
<para>
<!-- .LP -->
If an attempt is made to set this value a second time with
-<function>XSetICValues ,</function>
+<function>XSetICValues</function>,
the string
<function>XNClientWindow</function>
will be returned by
-<function>XSetICValues ,</function>
+<function>XSetICValues</function>,
and the client window will not be changed.
</para>
<para>
@@ -7453,7 +7453,7 @@ Grab the keyboard within that window
<para>
<!-- .LP -->
The associated value must be of type
-<function>Window .</function>
+<function>Window</function>.
If the focus window is not a valid window ID on the display
attached to the input method,
a
@@ -7544,7 +7544,7 @@ and is never changed.
<!-- .LP -->
The type of this argument is
<function>unsigned</function>
-<function>long .</function>
+<function>long</function>.
Setting this value will cause an error.
</para>
</sect3>
@@ -7566,7 +7566,7 @@ the input context is destroyed and the input method is closed.
Therefore, the client should not call
<function>XDestroyIC</function>
and
-<function>XCloseIM .</function>
+<function>XCloseIM</function>.
</para>
<para>
<!-- .LP -->
@@ -7618,7 +7618,7 @@ before using this argument.
The
<function>XNStringConversion</function>
argument is a structure of type
-<function>XIMStringConversionText .</function>
+<function>XIMStringConversionText</function>.
</para>
<para>
<!-- .LP -->
@@ -7693,7 +7693,7 @@ The
argument specifies the state the input context will return to after calling
<function>XmbResetIC</function>
or
-<function>XwcResetIC .</function>
+<function>XwcResetIC</function>.
</para>
<para>
<!-- .LP -->
@@ -7751,13 +7751,13 @@ will preserve the current state of the <acronym>XIC</acronym>.
If
<function>XNResetState</function>
is left unspecified, the default is
-<function>XIMInitialState .</function>
+<function>XIMInitialState</function>.
</para>
<para>
<!-- .LP -->
<function>XIMResetState</function>
values other than those specified above will default to
-<function>XIMInitialState .</function>
+<function>XIMInitialState</function>.
</para>
<para>
<!-- .LP -->
@@ -7782,14 +7782,14 @@ The
<function>XNHotKey</function>
argument specifies the hot key list to the <acronym>XIC</acronym>.
The hot key list is a pointer to the structure of type
-<function>XIMHotKeyTriggers ,</function>
+<function>XIMHotKeyTriggers</function>,
which specifies the key events that must be received
without any interruption of the input method.
For the hot key list set with this argument to be utilized, the client
must also set
<function>XNHotKeyState</function>
to
-<function>XIMHotKeyStateON .</function>
+<function>XIMHotKeyStateON</function>.
</para>
<para>
<!-- .LP -->
@@ -7802,7 +7802,7 @@ before using this functionality.
<para>
<!-- .LP -->
The value of the argument is a pointer to a structure of type
-<function>XIMHotKeyTriggers .</function>
+<function>XIMHotKeyTriggers</function>.
</para>
<para>
<!-- .LP -->
@@ -7907,7 +7907,7 @@ typedef unsigned long XIMHotKeyState;
<para>
<!-- .LP -->
If not specified, the default is
-<function>XIMHotKeyStateOFF .</function>
+<function>XIMHotKeyStateOFF</function>.
</para>
<para>
<!-- .LP -->
@@ -7947,7 +7947,7 @@ The names to be used in these lists are described in the following sections.
The value of the
<function>XNArea</function>
argument must be a pointer to a structure of type
-<function>XRectangle.</function>
+<function>XRectangle</function>.
The interpretation of the
<function>XNArea</function>
argument is dependent on the input method style that has been set.
@@ -7955,7 +7955,7 @@ argument is dependent on the input method style that has been set.
<para>
<!-- .LP -->
If the input method style is
-<function>XIMPreeditPosition ,</function>
+<function>XIMPreeditPosition</function>,
<function>XNArea</function>
specifies the clipping region within which preediting will take place.
If the focus window has been set,
@@ -7971,7 +7971,7 @@ If
is not specified, is set to NULL, or is invalid,
the input method will default the clipping region
to the geometry of the
-<function>XNFocusWindow .</function>
+<function>XNFocusWindow</function>.
If the area specified is NULL or invalid,
the results are undefined.
</para>
@@ -7980,14 +7980,14 @@ the results are undefined.
If the input style is
<function>XIMPreeditArea</function>
or
-<function>XIMStatusArea ,</function>
+<function>XIMStatusArea</function>,
<function>XNArea</function>
specifies the geometry provided by the client to the input method.
The input method may use this area to display its data,
either preedit or status depending on the area designated.
The input method may create a window as a child of the client window
with dimensions that fit the
-<function>XNArea .</function>
+<function>XNArea</function>.
The coordinates are relative to the client window.
If the client window has not been set yet,
the input method should save these values
@@ -8012,7 +8012,7 @@ argument specifies the geometry suggested by the client for this area
(preedit or status).
The value associated with the argument must be a pointer to a
structure of type
-<function>XRectangle .</function>
+<function>XRectangle</function>.
Note that the x, y values are not used
and that nonzero values for width or height are the constraints
that the client wishes the input method to respect.
@@ -8029,7 +8029,7 @@ for the area.
This argument is only valid if the input style is
<function>XIMPreeditArea</function>
or
-<function>XIMStatusArea .</function>
+<function>XIMStatusArea</function>.
It is used for geometry negotiation between the client and the input method
and has no other effect on the input method
(see section 13.5.1.5).
@@ -8049,9 +8049,9 @@ argument specifies to the input method the coordinates of the spot
to be used by an input method executing with
<function>XNInputStyle </function>
set to
-<function>XIMPreeditPosition .</function>
+<function>XIMPreeditPosition</function>.
When specified to any input method other than
-<function>XIMPreeditPosition ,</function>
+<function>XIMPreeditPosition</function>,
this <acronym>XIC</acronym> value is ignored.
</para>
<para>
@@ -8068,7 +8068,7 @@ the results are undefined.
<para>
<!-- .LP -->
The value of the argument is a pointer to a structure of type
-<function>XPoint .</function>
+<function>XPoint</function>.
</para>
</sect4>
<sect4 id="Colormap">
@@ -8088,7 +8088,7 @@ The
<function>XNColormap</function>
argument is used to specify a colormap ID.
The argument value is of type
-<function>Colormap .</function>
+<function>Colormap</function>.
An invalid argument may generate a
<function>BadColor</function>
error when it is used by the input method.
@@ -8103,7 +8103,7 @@ in which the input method should allocate colors.
The argument value is an
<function>Atom</function>
that should be a valid atom for calling
-<function>XGetRGBColormaps .</function>
+<function>XGetRGBColormaps</function>.
An invalid argument may generate a
<function>BadAtom</function>
error when it is used by the input method.
@@ -8130,7 +8130,7 @@ and
arguments specify the foreground and background pixel, respectively.
The argument value is of type
<function>unsigned</function>
-<function>long .</function>
+<function>long</function>.
It must be a valid pixel in the input method colormap.
</para>
<para>
@@ -8151,7 +8151,7 @@ The
argument specifies a background pixmap to be used as the background of the
window.
The value must be of type
-<function>Pixmap .</function>
+<function>Pixmap</function>.
An invalid argument may generate a
<function>BadPixmap</function>
error when it is used by the input method.
@@ -8174,7 +8174,7 @@ The
<function>XNFontSet</function>
argument specifies to the input method what font set is to be used.
The argument value is of type
-<function>XFontSet .</function>
+<function>XFontSet</function>.
</para>
<para>
<!-- .LP -->
@@ -8194,7 +8194,7 @@ The
argument specifies to the input method what line spacing is to be used
in the preedit window if more than one line is to be used.
This argument is of type
-<function>int .</function>
+<function>int</function>.
</para>
<para>
<!-- .LP -->
@@ -8215,7 +8215,7 @@ The
argument specifies to the input method what cursor is to be used
in the specified window.
This argument is of type
-<function>Cursor .</function>
+<function>Cursor</function>.
</para>
<para>
<!-- .LP -->
@@ -8285,13 +8285,13 @@ is left unspecified, then the state will be implementation-dependent.
When
<function>XNResetState</function>
is set to
-<function>XIMInitialState ,</function>
+<function>XIMInitialState</function>,
the
<function>XNPreeditState</function>
value specified at the creation time will be reflected as the initial state for
<function>XmbResetIC</function>
and
-<function>XwcResetIC .</function>
+<function>XwcResetIC</function>.
</para>
<para>
<!-- .LP -->
@@ -8314,7 +8314,7 @@ when the preediting state has changed.
The value of the
<function>XNPreeditStateNotifyCallback</function>
argument is a pointer to a structure of type
-<function>XIMCallback .</function>
+<function>XIMCallback</function>.
The generic prototype is as follows:
<indexterm significance="preferred"><primary>PreeditStateNotifyCallback</primary></indexterm>
<!-- .sM -->
@@ -8468,7 +8468,7 @@ The set of status callbacks is as follows:
<!-- .LP -->
The value of any status or preedit argument is a pointer
to a structure of type
-<function>XIMCallback .</function>
+<function>XIMCallback</function>.
<indexterm significance="preferred"><primary>XIMProc</primary></indexterm>
<indexterm significance="preferred"><primary>XIMCallback</primary></indexterm>
<!-- .sM -->
@@ -8840,7 +8840,7 @@ relative to the client's cursor position in the client's buffer.
The ending position of the text buffer is determined by
the direction and factor members. Specifically, it is the character position
relative to the starting point as defined by the
-<function>XIMCaretDirection .</function>
+<function>XIMCaretDirection</function>.
The factor member of
<function>XIMStringConversionCallbackStruct </function>
specifies the number of
@@ -8852,7 +8852,7 @@ the end of the current display line are returned. If the direction
specifies
<function>XIMForwardChar</function>
or
-<function>XIMBackwardChar ,</function>
+<function>XIMBackwardChar</function>,
then the factor specifies a relative position, indicated in characters,
from the starting position.
</para>
@@ -8864,12 +8864,12 @@ deleted (substitution) or copied (retrieval) from the client's
buffer. When the
<function>XIMStringConversionOperation</function>
is
-<function>XIMStringConversionSubstitution ,</function>
+<function>XIMStringConversionSubstitution</function>,
the client must delete the string to be converted from its own buffer.
When the
<function>XIMStringConversionOperation</function>
is
-<function>XIMStringConversionRetrieval ,</function>
+<function>XIMStringConversionRetrieval</function>,
the client must not delete the string to be converted from its buffer.
The substitute operation is typically used for reconversion and
transliteration conversion,
@@ -8994,7 +8994,7 @@ Not used for this callback and always passed as NULL.
When preedit stops on the specified input context,
the callback is called with a NULL call_data argument.
The client can release the data allocated by
-<function>PreeditStartCallback .</function>
+<function>PreeditStartCallback</function>.
</para>
<para>
<!-- .LP -->
@@ -9264,8 +9264,8 @@ If an input method wants to control display of the preedit string, an
input method can indicate the visibility hints using feedbacks in
a specific way.
The
-<function>XIMVisibleToForward ,</function>
-<function>XIMVisibleToBackward ,</function>
+<function>XIMVisibleToForward</function>,
+<function>XIMVisibleToBackward</function>,
and
<function>XIMVisibleCenter</function>
masks are exclusively used for these visibility hints.
@@ -9296,7 +9296,7 @@ masks
is valid for the entire preedit string, and only one character
can hold one of these feedbacks for a given input context at one time.
This feedback may be OR'ed together with another highlight (such as
-<function>XIMReverse ).</function>
+<function>XIMReverse</function>).
Only the most recently set feedback is valid, and any previous
feedback is automatically canceled. This is a hint to the client, and
the client is free to choose how to display the preedit string.
@@ -9323,12 +9323,12 @@ structure will contain a NULL value for the string field,
the number of characters affected (relative to chg_first)
will be in the length field,
and the feedback field will point to an array of
-<function>XIMFeedback .</function>
+<function>XIMFeedback</function>.
</para>
<para>
<!-- .LP -->
Each element in the feedback array is a bitmask represented by a value of type
-<function>XIMFeedback .</function>
+<function>XIMFeedback</function>.
The valid mask names are as follows:
</para>
<para>
@@ -9374,20 +9374,20 @@ Characters drawn with the
<function>XIMUnderline</function>
highlight should be underlined.
Characters drawn with the
-<function>XIMHighlight ,</function>
-<function>XIMPrimary ,</function>
-<function>XIMSecondary ,</function>
+<function>XIMHighlight</function>,
+<function>XIMPrimary</function>,
+<function>XIMSecondary</function>,
and
<function>XIMTertiary</function>
highlights should be drawn in some unique manner that must be different
from
<function>XIMReverse</function>
and
-<function>XIMUnderline .</function>
+<function>XIMUnderline</function>.
<!-- .FS \(dg -->
The values for
-<function>XIMPrimary ,</function>
-<function>XIMSecondary ,</function>
+<function>XIMPrimary</function>,
+<function>XIMSecondary</function>,
and
<function>XIMTertiary</function>
were incorrectly defined in the R5 specification.
@@ -9732,7 +9732,7 @@ Not used for this callback and always passed as NULL.
<!-- .LP -->
<!-- .eM -->
The callback may release any data allocated on
-<function>StatusStart .</function>
+<function>StatusStart</function>.
</para>
<para>
<!-- .LP -->
@@ -9826,8 +9826,8 @@ typedef struct _XIMStatusDrawCallbackStruct {
<para>
<!-- .LP -->
The feedback styles
-<function>XIMVisibleToForward ,</function>
-<function>XIMVisibleToBackward ,</function>
+<function>XIMVisibleToForward</function>,
+<function>XIMVisibleToBackward</function>,
and
<function>XIMVisibleToCenter</function>
are not relevant and will not appear in the
@@ -9853,7 +9853,7 @@ to register a filter internal to Xlib.
This filter is called by a client (or toolkit) by calling
<function>XFilterEvent</function>
after calling
-<function>XNextEvent .</function>
+<function>XNextEvent</function>.
Any client that uses the
<function>XIM</function>
interface should call
@@ -9869,14 +9869,14 @@ of event filters with respect to other event-handling mechanisms
Clients may not know how many filters there are, if any,
and what they do.
They may only know if an event has been filtered on return of
-<function>XFilterEvent .</function>
+<function>XFilterEvent</function>.
Clients should discard filtered events.
<!-- .sp -->
</para>
<para>
<!-- .LP -->
To filter an event, use
-<function>XFilterEvent .</function>
+<function>XFilterEvent</function>.
<indexterm significance="preferred"><primary>XFilterEvent</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -9916,7 +9916,7 @@ Specifies the window (Wi.
<!-- .LP -->
<!-- .eM -->
If the window argument is
-<function>None ,</function>
+<function>None</function>,
<function>XFilterEvent </function>
applies the filter to the window specified in the
<function>XEvent</function>
@@ -9930,13 +9930,13 @@ has been redirected.
If
<function>XFilterEvent</function>
returns
-<function>True ,</function>
+<function>True</function>,
then some input method has filtered the event,
and the client should discard the event.
If
<function>XFilterEvent</function>
returns
-<function>False ,</function>
+<function>False</function>,
then the client should continue processing the event.
</para>
<para>
@@ -9944,7 +9944,7 @@ then the client should continue processing the event.
If a grab has occurred in the client and
<function>XFilterEvent</function>
returns
-<function>True ,</function>
+<function>True</function>,
the client should ungrab the keyboard.
</para>
</sect2>
@@ -9959,7 +9959,7 @@ To get composed input from an input method,
use
<function>XmbLookupString</function>
or
-<function>XwcLookupString .</function>
+<function>XwcLookupString</function>.
<indexterm significance="preferred"><primary>XmbLookupString</primary></indexterm>
<indexterm significance="preferred"><primary>XwcLookupString</primary></indexterm>
<!-- .sM -->
@@ -10112,7 +10112,7 @@ it is essential that the client pass only
events to
<function>XmbLookupString</function>
and
-<function>XwcLookupString .</function>
+<function>XwcLookupString</function>.
Their behavior when a client passes a
<function>KeyRelease</function>
event is undefined.
@@ -10137,7 +10137,7 @@ The possible values returned are:
<entry><function>XBufferOverflow</function></entry>
<entry>The input string to be returned is too large for the supplied buffer_return.
The required size
- <function>( XmbLookupString</function>
+ (<function>XmbLookupString</function>
in bytes;
<function>XwcLookupString</function>
in characters) is returned as the value of the function,
@@ -10233,7 +10233,7 @@ event with a KeyCode of zero is used exclusively as a
signal that an input method has composed input that can be returned by
<function>XmbLookupString</function>
or
-<function>XwcLookupString .</function>
+<function>XwcLookupString</function>.
No other use is made of a
<function>KeyPress</function>
event with KeyCode of zero.
diff --git a/specs/libX11/CH14.xml b/specs/libX11/CH14.xml
index 04e88a0..5b25ca4 100644
--- a/specs/libX11/CH14.xml
+++ b/specs/libX11/CH14.xml
@@ -253,7 +253,7 @@ to manipulate your application's subwindows.
<para>
<!-- .LP -->
To request that a top-level window be iconified, use
-<function>XIconifyWindow .</function>
+<function>XIconifyWindow</function>.
<indexterm significance="preferred"><primary>XIconifyWindow</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -313,7 +313,7 @@ and a window of w
to the root window of the specified screen
with an event mask set to
<function>SubstructureNotifyMask |</function>
-<function>SubstructureRedirectMask .</function>
+<function>SubstructureRedirectMask</function>.
Window managers may elect to receive this message and
if the window is in its normal state,
may treat it as a request to change the window's state from normal to iconic.
@@ -327,7 +327,7 @@ otherwise, it returns a zero status.
<para>
<!-- .LP -->
To request that a top-level window be withdrawn, use
-<function>XWithdrawWindow .</function>
+<function>XWithdrawWindow</function>.
<indexterm significance="preferred"><primary>XWithdrawWindow</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -401,7 +401,7 @@ error.
<para>
<!-- .LP -->
To request that a top-level window be reconfigured, use
-<function>XReconfigureWMWindow .</function>
+<function>XReconfigureWMWindow</function>.
<indexterm significance="preferred"><primary>XReconfigureWMWindow</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -574,7 +574,7 @@ To convert a list of text strings to an
structure, use
<function>XmbTextListToTextProperty</function>
or
-<function>XwcTextListToTextProperty .</function>
+<function>XwcTextListToTextProperty</function>.
<indexterm significance="preferred"><primary>XmbTextListToTextProperty</primary></indexterm>
<indexterm significance="preferred"><primary>XwcTextListToTextProperty</primary></indexterm>
<!-- .sM -->
@@ -697,19 +697,19 @@ else ``COMPOUND_TEXT''.
<!-- .LP -->
If insufficient memory is available for the new value string,
the functions return
-<function>XNoMemory .</function>
+<function>XNoMemory</function>.
If the current locale is not supported,
the functions return
-<function>XLocaleNotSupported .</function>
+<function>XLocaleNotSupported</function>.
In both of these error cases,
the functions do not set text_prop_return.
</para>
<para>
<!-- .LP -->
To determine if the functions are guaranteed not to return
-<function>XLocaleNotSupported ,</function>
+<function>XLocaleNotSupported</function>,
use
-<function>XSupportsLocale .</function>
+<function>XSupportsLocale</function>.
</para>
<para>
<!-- .LP -->
@@ -718,7 +718,7 @@ the functions return the number of unconvertible characters.
Each unconvertible character is converted to an implementation-defined and
encoding-specific default string.
Otherwise, the functions return
-<function>Success .</function>
+<function>Success</function>.
Note that full convertibility to all styles except
<function>XStringStyle</function>
is guaranteed.
@@ -726,7 +726,7 @@ is guaranteed.
<para>
<!-- .LP -->
To free the storage for the value field, use
-<function>XFree .</function>
+<function>XFree</function>.
<!-- .sp -->
</para>
<para>
@@ -736,7 +736,7 @@ To obtain a list of text strings from an
structure, use
<function>XmbTextPropertyToTextList</function>
or
-<function>XwcTextPropertyToTextList .</function>
+<function>XwcTextPropertyToTextList</function>.
<indexterm significance="preferred"><primary>XmbTextPropertyToTextList</primary></indexterm>
<indexterm significance="preferred"><primary>XwcTextPropertyToTextList</primary></indexterm>
<!-- .sM -->
@@ -833,14 +833,14 @@ If insufficient memory is available for the list and its elements,
and
<function>XwcTextPropertyToTextList</function>
return
-<function>XNoMemory .</function>
+<function>XNoMemory</function>.
If the current locale is not supported,
the functions return
-<function>XLocaleNotSupported .</function>
+<function>XLocaleNotSupported</function>.
Otherwise, if the encoding field of text_prop is not convertible
to the encoding of the current locale,
the functions return
-<function>XConverterNotFound .</function>
+<function>XConverterNotFound</function>.
For supported locales,
existence of a converter from COMPOUND_TEXT, STRING
or the encoding of the current locale is guaranteed if
@@ -871,31 +871,31 @@ Each unconvertible character is converted to a string in the
current locale that is specific to the current locale.
To obtain the value of this string,
use
-<function>XDefaultString .</function>
+<function>XDefaultString</function>.
Otherwise,
<function>XmbTextPropertyToTextList</function>
and
<function>XwcTextPropertyToTextList</function>
return
-<function>Success .</function>
+<function>Success</function>.
</para>
<para>
<!-- .LP -->
To free the storage for the list and its contents returned by
-<function>XmbTextPropertyToTextList ,</function>
+<function>XmbTextPropertyToTextList</function>,
use
-<function>XFreeStringList .</function>
+<function>XFreeStringList</function>.
To free the storage for the list and its contents returned by
-<function>XwcTextPropertyToTextList ,</function>
+<function>XwcTextPropertyToTextList</function>,
use
-<function>XwcFreeStringList .</function>
+<function>XwcFreeStringList</function>.
<!-- .sp -->
</para>
<para>
<!-- .LP -->
To free the in-memory data associated with the specified
wide character string list, use
-<function>XwcFreeStringList .</function>
+<function>XwcFreeStringList</function>.
<indexterm significance="preferred"><primary>XwcFreeStringList</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -924,7 +924,7 @@ Specifies the list of strings to be freed.
The
<function>XwcFreeStringList</function>
function frees memory allocated by
-<function>XwcTextPropertyToTextList .</function>
+<function>XwcTextPropertyToTextList</function>.
<!-- .sp -->
</para>
<para>
@@ -941,7 +941,7 @@ The
<function>XDefaultString</function>
function returns the default string used by Xlib for text conversion
(for example, in
-<function>XmbTextPropertyToTextList ).</function>
+<function>XmbTextPropertyToTextList</function>).
The default string is the string in the current locale that is output
when an unconvertible character is found during text conversion.
If the string returned by
@@ -959,7 +959,7 @@ is independent of the default string for text drawing;
see
<function>XCreateFontSet</function>
to obtain the default string for an
-<function>XFontSet .</function>
+<function>XFontSet</function>.
</para>
<para>
<!-- .LP -->
@@ -979,7 +979,7 @@ Until freed, it will not be modified by Xlib.
To set the specified list of strings in the STRING encoding to a
<function>XTextProperty</function>
structure, use
-<function>XStringListToTextProperty .</function>
+<function>XStringListToTextProperty</function>.
<indexterm significance="preferred"><primary>XStringListToTextProperty</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1046,7 +1046,7 @@ does not set any fields in the
structure and returns a zero status.
Otherwise, it returns a nonzero status.
To free the storage for the value field, use
-<function>XFree .</function>
+<function>XFree</function>.
<!-- .sp -->
</para>
<para>
@@ -1054,7 +1054,7 @@ To free the storage for the value field, use
To obtain a list of strings from a specified
<function>XTextProperty</function>
structure in the STRING encoding, use
-<function>XTextPropertyToStringList .</function>
+<function>XTextPropertyToStringList</function>.
<indexterm significance="preferred"><primary>XTextPropertyToStringList</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1121,13 +1121,13 @@ If insufficient memory is available for the list and its elements,
sets no return values and returns a zero status.
Otherwise, it returns a nonzero status.
To free the storage for the list and its contents, use
-<function>XFreeStringList .</function>
+<function>XFreeStringList</function>.
<!-- .sp -->
</para>
<para>
<!-- .LP -->
To free the in-memory data associated with the specified string list, use
-<function>XFreeStringList .</function>
+<function>XFreeStringList</function>.
<indexterm significance="preferred"><primary>XFreeStringList</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1160,7 +1160,7 @@ function releases memory allocated by
and
<function>XTextPropertyToStringList</function>
and the missing charset list allocated by
-<function>XCreateFontSet .</function>
+<function>XCreateFontSet</function>.
</para>
</sect2>
<sect2 id="Setting_and_Reading_Text_Properties">
@@ -1184,7 +1184,7 @@ see sections 14.1.4, 14.1.5, 14.2.1, and 14.2.2, respectively.
<para>
<!-- .LP -->
To set one of a window's text properties, use
-<function>XSetTextProperty .</function>
+<function>XSetTextProperty</function>.
<indexterm significance="preferred"><primary>XSetTextProperty</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1261,9 +1261,9 @@ sets it for the specified window.
<!-- .LP -->
<function>XSetTextProperty</function>
can generate
-<function>BadAlloc ,</function>
-<function>BadAtom , </function>
-<function>BadValue , </function>
+<function>BadAlloc</function>,
+<function>BadAtom</function>,
+<function>BadValue</function>,
and
<function>BadWindow </function>
errors.
@@ -1272,7 +1272,7 @@ errors.
<para>
<!-- .LP -->
To read one of a window's text properties, use
-<function>XGetTextProperty .</function>
+<function>XGetTextProperty</function>.
<indexterm significance="preferred"><primary>XGetTextProperty</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1351,7 +1351,7 @@ If the specified property does not exist on the window,
<function>XGetTextProperty</function>
sets the value field to NULL,
the encoding field to
-<function>None , </function>
+<function>None</function>,
the format field to zero,
and the nitems field to zero.
</para>
@@ -1388,7 +1388,7 @@ the WM_NAME property for a given window.
<para>
<!-- .LP -->
To set a window's WM_NAME property with the supplied convenience function, use
-<function>XSetWMName .</function>
+<function>XSetWMName</function>.
<indexterm significance="preferred"><primary>XSetWMName</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1448,7 +1448,7 @@ to set the WM_NAME property.
<para>
<!-- .LP -->
To read a window's WM_NAME property with the supplied convenience function, use
-<function>XGetWMName .</function>
+<function>XGetWMName</function>.
<indexterm significance="preferred"><primary>XGetWMName</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1511,7 +1511,7 @@ otherwise, it returns a zero status.
The following two functions have been superseded by
<function>XSetWMName</function>
and
-<function>XGetWMName ,</function>
+<function>XGetWMName</function>,
respectively.
You can use these additional convenience functions
for window names that are encoded as STRING properties.
@@ -1520,7 +1520,7 @@ for window names that are encoded as STRING properties.
<para>
<!-- .LP -->
To assign a name to a window, use
-<function>XStoreName .</function>
+<function>XStoreName</function>.
<indexterm><primary>Window</primary><secondary>name</secondary></indexterm>
<indexterm significance="preferred"><primary>XStoreName</primary></indexterm>
<!-- .sM -->
@@ -1594,7 +1594,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To get the name of a window, use
-<function>XFetchName .</function>
+<function>XFetchName</function>.
<indexterm significance="preferred"><primary>XFetchName</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1657,7 +1657,7 @@ then the returned string is in the Host Portable Character Encoding.
Otherwise, the result is implementation-dependent.
When finished with it, a client must free
the window name string using
-<function>XFree .</function>
+<function>XFree</function>.
</para>
<para>
<!-- .LP -->
@@ -1682,7 +1682,7 @@ the WM_ICON_NAME property for a given window.
<!-- .sp -->
To set a window's WM_ICON_NAME property,
use
-<function>XSetWMIconName .</function>
+<function>XSetWMIconName</function>.
<indexterm significance="preferred"><primary>XSetWMIconName</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1743,7 +1743,7 @@ to set the WM_ICON_NAME property.
<!-- .LP -->
To read a window's WM_ICON_NAME property,
use
-<function>XGetWMIconName .</function>
+<function>XGetWMIconName</function>.
<indexterm significance="preferred"><primary>XGetWMIconName</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1806,7 +1806,7 @@ otherwise, it returns a zero status.
The next two functions have been superseded by
<function>XSetWMIconName</function>
and
-<function>XGetWMIconName ,</function>
+<function>XGetWMIconName</function>,
respectively.
You can use these additional convenience functions
for window names that are encoded as STRING properties.
@@ -1816,7 +1816,7 @@ for window names that are encoded as STRING properties.
<!-- .LP -->
<!-- .sp -->
To set the name to be displayed in a window's icon, use
-<function>XSetIconName .</function>
+<function>XSetIconName</function>.
<indexterm><primary>Window</primary><secondary>icon name</secondary></indexterm>
<indexterm significance="preferred"><primary>XSetIconName</primary></indexterm>
<!-- .sM -->
@@ -1879,7 +1879,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To get the name a window wants displayed in its icon, use
-<function>XGetIconName .</function>
+<function>XGetIconName</function>.
<indexterm significance="preferred"><primary>XGetIconName</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1942,7 +1942,7 @@ then the returned string is in the Host Portable Character Encoding.
Otherwise, the result is implementation-dependent.
When finished with it, a client must free
the icon name string using
-<function>XFree .</function>
+<function>XFree</function>.
</para>
<para>
<!-- .LP -->
@@ -1973,7 +1973,7 @@ header file.
To allocate an
<function>XWMHints</function>
structure, use
-<function>XAllocWMHints .</function>
+<function>XAllocWMHints</function>.
</para>
<para>
@@ -1996,7 +1996,7 @@ If insufficient memory is available,
returns NULL.
To free the memory allocated to this structure,
use
-<function>XFree .</function>
+<function>XFree</function>.
</para>
<para>
<!-- .LP -->
@@ -2045,25 +2045,25 @@ Applications that expect input but never explicitly set focus to any
of their subwindows (that is, use the push model of focus management),
such as X Version 10 style applications that use real-estate
driven focus, should set this member to
-<function>True . </function>
+<function>True</function>.
Similarly, applications
that set input focus to their subwindows only when it is given to their
top-level window by a window manager should also set this member to
-<function>True .</function>
+<function>True</function>.
Applications that manage their own input focus by explicitly setting
focus to one of their subwindows whenever they want keyboard input
(that is, use the pull model of focus management) should set this member to
-<function>False .</function>
+<function>False</function>.
Applications that never expect any keyboard input also should set this member
to
-<function>False .</function>
+<function>False</function>.
</para>
<para>
<!-- .LP -->
Pull model window managers should make it possible for push model
applications to get input by setting input focus to the top-level windows of
applications whose input member is
-<function>True . </function>
+<function>True</function>.
Push model window managers should
make sure that pull model applications do not break them
by resetting input focus to
@@ -2114,7 +2114,7 @@ or the window to be withdrawn.
<!-- .LP -->
<!-- .sp -->
To set a window's WM_HINTS property, use
-<function>XSetWMHints .</function>
+<function>XSetWMHints</function>.
<indexterm significance="preferred"><primary>XSetWMHints</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2183,7 +2183,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To read a window's WM_HINTS property, use
-<function>XGetWMHints .</function>
+<function>XGetWMHints</function>.
<indexterm significance="preferred"><primary>XGetWMHints</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2229,7 +2229,7 @@ or returns a pointer to an
structure if it succeeds.
When finished with the data,
free the space used for it by calling
-<function>XFree .</function>
+<function>XFree</function>.
</para>
<para>
<!-- .LP -->
@@ -2272,7 +2272,7 @@ instances of the structure be used.
To allocate an
<function>XSizeHints</function>
structure, use
-<function>XAllocSizeHints .</function>
+<function>XAllocSizeHints</function>.
</para>
<para>
@@ -2294,7 +2294,7 @@ If insufficient memory is available,
returns NULL.
To free the memory allocated to this structure,
use
-<function>XFree .</function>
+<function>XFree</function>.
</para>
<para>
<!-- .LP -->
@@ -2377,7 +2377,7 @@ macro is highly discouraged.
<para>
<!-- .LP -->
To set a window's WM_NORMAL_HINTS property, use
-<function>XSetWMNormalHints .</function>
+<function>XSetWMNormalHints</function>.
<indexterm significance="preferred"><primary>XSetWMNormalHints</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2447,7 +2447,7 @@ errors.
<para>
<!-- .LP -->
To read a window's WM_NORMAL_HINTS property, use
-<function>XGetWMNormalHints .</function>
+<function>XGetWMNormalHints</function>.
<indexterm significance="preferred"><primary>XGetWMNormalHints</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2558,7 +2558,7 @@ error.
<para>
<!-- .LP -->
To set a window's WM_SIZE_HINTS property, use
-<function>XSetWMSizeHints .</function>
+<function>XSetWMSizeHints</function>.
<indexterm significance="preferred"><primary>XSetWMSizeHints</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2637,8 +2637,8 @@ function.
<!-- .LP -->
<function>XSetWMSizeHints</function>
can generate
-<function>BadAlloc ,</function>
-<function>BadAtom , </function>
+<function>BadAlloc</function>,
+<function>BadAtom</function>,
and
<function>BadWindow</function>
errors.
@@ -2647,7 +2647,7 @@ errors.
<para>
<!-- .LP -->
To read a window's WM_SIZE_HINTS property, use
-<function>XGetWMSizeHints .</function>
+<function>XGetWMSizeHints</function>.
<indexterm significance="preferred"><primary>XGetWMSizeHints</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2796,7 +2796,7 @@ header file.
To allocate an
<function>XClassHint</function>
structure, use
-<function>XAllocClassHint .</function>
+<function>XAllocClassHint</function>.
<indexterm significance="preferred"><primary>XAllocClassHint</primary></indexterm>
<!-- .sM -->
</para>
@@ -2821,7 +2821,7 @@ If insufficient memory is available,
returns NULL.
To free the memory allocated to this structure,
use
-<function>XFree .</function>
+<function>XFree</function>.
</para>
<para>
<!-- .LP -->
@@ -2860,7 +2860,7 @@ resource database.
<!-- .LP -->
<!-- .sp -->
To set a window's WM_CLASS property, use
-<function>XSetClassHint .</function>
+<function>XSetClassHint</function>.
<indexterm significance="preferred"><primary>XSetClassHint</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2929,7 +2929,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To read a window's WM_CLASS property, use
-<function>XGetClassHint .</function>
+<function>XGetClassHint</function>.
<indexterm significance="preferred"><primary>XGetClassHint</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3015,7 +3015,7 @@ the WM_TRANSIENT_FOR property for a given window.
<!-- .LP -->
<!-- .sp -->
To set a window's WM_TRANSIENT_FOR property, use
-<function>XSetTransientForHint .</function>
+<function>XSetTransientForHint</function>.
<indexterm significance="preferred"><primary>XSetTransientForHint</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3081,7 +3081,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To read a window's WM_TRANSIENT_FOR property, use
-<function>XGetTransientForHint .</function>
+<function>XGetTransientForHint</function>.
<indexterm significance="preferred"><primary>XGetTransientForHint</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3157,7 +3157,7 @@ the WM_PROTOCOLS property for a given window.
<!-- .LP -->
<!-- .sp -->
To set a window's WM_PROTOCOLS property, use
-<function>XSetWMProtocols .</function>
+<function>XSetWMProtocols</function>.
<indexterm significance="preferred"><primary>XSetWMProtocols</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3244,7 +3244,7 @@ errors.
<para>
<!-- .LP -->
To read a window's WM_PROTOCOLS property, use
-<function>XGetWMProtocols .</function>
+<function>XGetWMProtocols</function>.
<indexterm significance="preferred"><primary>XGetWMProtocols</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3319,7 +3319,7 @@ and returns a nonzero status.
Otherwise, it sets neither of the return arguments
and returns a zero status.
To release the list of atoms, use
-<function>XFree .</function>
+<function>XFree</function>.
</para>
<para>
<!-- .LP -->
@@ -3343,7 +3343,7 @@ the WM_COLORMAP_WINDOWS property for a given window.
<para>
<!-- .LP -->
To set a window's WM_COLORMAP_WINDOWS property, use
-<function>XSetWMColormapWindows .</function>
+<function>XSetWMColormapWindows</function>.
<indexterm significance="preferred"><primary>XSetWMColormapWindows</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3430,7 +3430,7 @@ errors.
<para>
<!-- .LP -->
To read a window's WM_COLORMAP_WINDOWS property, use
-<function>XGetWMColormapWindows .</function>
+<function>XGetWMColormapWindows</function>.
<indexterm significance="preferred"><primary>XGetWMColormapWindows</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3505,7 +3505,7 @@ and returns a nonzero status.
Otherwise, it sets neither of the return arguments
and returns a zero status.
To release the list of window identifiers, use
-<function>XFree . </function>
+<function>XFree</function>.
</para>
<para>
<!-- .LP -->
@@ -3537,7 +3537,7 @@ header file.
To allocate an
<function>XIconSize</function>
structure, use
-<function>XAllocIconSize .</function>
+<function>XAllocIconSize</function>.
</para>
<para>
@@ -3560,7 +3560,7 @@ If insufficient memory is available,
returns NULL.
To free the memory allocated to this structure,
use
-<function>XFree .</function>
+<function>XFree</function>.
</para>
<para>
<!-- .LP -->
@@ -3592,7 +3592,7 @@ sizes (minimum to maximum) that represent the supported icon sizes.
<!-- .LP -->
<!-- .sp -->
To set a window's WM_ICON_SIZE property, use
-<function>XSetIconSizes .</function>
+<function>XSetIconSizes</function>.
<indexterm significance="preferred"><primary>XSetIconSizes</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3668,7 +3668,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To read a window's WM_ICON_SIZE property, use
-<function>XGetIconSizes .</function>
+<function>XGetIconSizes</function>.
<indexterm significance="preferred"><primary>XGetIconSizes</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3741,7 +3741,7 @@ should then use
to supply the window manager with an icon pixmap or window in one of the
supported sizes.
To free the data allocated in size_list_return, use
-<function>XFree .</function>
+<function>XFree</function>.
</para>
<para>
<!-- .LP -->
@@ -3912,12 +3912,12 @@ and the properties are created with type ``COMPOUND_TEXT''.
If the normal_hints argument is non-NULL,
<function>XmbSetWMProperties</function>
calls
-<function>XSetWMNormalHints ,</function>
+<function>XSetWMNormalHints</function>,
which sets the WM_NORMAL_HINTS property (see section 14.1.7).
If the wm_hints argument is non-NULL,
<function>XmbSetWMProperties</function>
calls
-<function>XSetWMHints ,</function>
+<function>XSetWMHints</function>,
which sets the WM_HINTS property (see section 14.1.6).
</para>
<para>
@@ -3980,7 +3980,7 @@ errors.
<!-- .LP -->
To set a window's standard window manager properties
with strings in client-specified encodings, use
-<function>XSetWMProperties .</function>
+<function>XSetWMProperties</function>.
The standard window manager properties for a given window are
WM_NAME, WM_ICON_NAME, WM_HINTS, WM_NORMAL_HINTS, WM_CLASS,
WM_COMMAND, and WM_CLIENT_MACHINE.
@@ -4115,17 +4115,17 @@ managers).
If the window_name argument is non-NULL,
<function>XSetWMProperties</function>
calls
-<function>XSetWMName ,</function>
+<function>XSetWMName</function>,
which, in turn, sets the WM_NAME property (see section 14.1.4).
If the icon_name argument is non-NULL,
<function>XSetWMProperties</function>
calls
-<function>XSetWMIconName ,</function>
+<function>XSetWMIconName</function>,
which sets the WM_ICON_NAME property (see section 14.1.5).
If the argv argument is non-NULL,
<function>XSetWMProperties</function>
calls
-<function>XSetCommand ,</function>
+<function>XSetCommand</function>,
which sets the WM_COMMAND property (see section 14.2.1).
Note that an argc of zero is allowed to indicate a zero-length command.
Note also that the hostname of this machine is stored using
@@ -4137,12 +4137,12 @@ Note also that the hostname of this machine is stored using
If the normal_hints argument is non-NULL,
<function>XSetWMProperties</function>
calls
-<function>XSetWMNormalHints ,</function>
+<function>XSetWMNormalHints</function>,
which sets the WM_NORMAL_HINTS property (see section 14.1.7).
If the wm_hints argument is non-NULL,
<function>XSetWMProperties</function>
calls
-<function>XSetWMHints ,</function>
+<function>XSetWMHints</function>,
which sets the WM_HINTS property (see section 14.1.6).
</para>
<para>
@@ -4150,7 +4150,7 @@ which sets the WM_HINTS property (see section 14.1.6).
If the class_hints argument is non-NULL,
<function>XSetWMProperties</function>
calls
-<function>XSetClassHint ,</function>
+<function>XSetClassHint</function>,
which sets the WM_CLASS property (see section 14.1.8).
If the res_name member in the
<function>XClassHint</function>
@@ -4209,7 +4209,7 @@ the WM_COMMAND property for a given window.
<para>
<!-- .LP -->
To set a window's WM_COMMAND property, use
-<function>XSetCommand .</function>
+<function>XSetCommand</function>.
<indexterm significance="preferred"><primary>XSetCommand</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -4289,7 +4289,7 @@ errors.
<para>
<!-- .LP -->
To read a window's WM_COMMAND property, use
-<function>XGetCommand .</function>
+<function>XGetCommand</function>.
<indexterm significance="preferred"><primary>XGetCommand</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -4363,7 +4363,7 @@ If the data returned by the server is in the Latin Portable Character Encoding,
then the returned strings are in the Host Portable Character Encoding.
Otherwise, the result is implementation-dependent.
To free the memory allocated to the string list, use
-<function>XFreeStringList .</function>
+<function>XFreeStringList</function>.
</para>
</sect2>
<sect2 id="Setting_and_Reading_the_WM_CLIENT_MACHINE_Property">
@@ -4380,7 +4380,7 @@ the WM_CLIENT_MACHINE property for a given window.
<para>
<!-- .LP -->
To set a window's WM_CLIENT_MACHINE property, use
-<function>XSetWMClientMachine .</function>
+<function>XSetWMClientMachine</function>.
<indexterm significance="preferred"><primary>XSetWMClientMachine</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -4440,7 +4440,7 @@ to set the WM_CLIENT_MACHINE property.
<para>
<!-- .LP -->
To read a window's WM_CLIENT_MACHINE property, use
-<function>XGetWMClientMachine .</function>
+<function>XGetWMClientMachine</function>.
<indexterm significance="preferred"><primary>XGetWMClientMachine</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -4607,7 +4607,7 @@ Applications should use the standard colormaps if they already exist.
To allocate an
<function>XStandardColormap</function>
structure, use
-<function>XAllocStandardColormap .</function>
+<function>XAllocStandardColormap</function>.
</para>
<para>
@@ -4629,7 +4629,7 @@ If insufficient memory is available,
returns NULL.
To free the memory allocated to this structure,
use
-<function>XFree .</function>
+<function>XFree</function>.
</para>
<para>
<!-- .LP -->
@@ -4813,7 +4813,7 @@ for text, borders, and so on.
<listitem>
<para>
This atom names a property. The value of the property is an
-<function>XStandardColormap .</function>
+<function>XStandardColormap</function>.
</para>
<para>
The property defines the best <acronym>RGB</acronym> colormap available on
@@ -4843,7 +4843,7 @@ RGB_BEST_MAP is normally an 8/8/8 allocation.
<para>
These atoms name properties.
The value of each property is an
-<function>XStandardColormap . </function>
+<function>XStandardColormap</function>.
</para>
<para>
The properties define all-red, all-green, and all-blue
@@ -4863,7 +4863,7 @@ and once with blue) and by multiply exposing a single frame in a camera.
<para>
This atom names a property.
The value of the property is an
-<function>XStandardColormap .</function>
+<function>XStandardColormap</function>.
</para>
<para>
The property describes the best
@@ -4899,7 +4899,7 @@ structure.
To set an
<function>XStandardColormap</function>
structure, use
-<function>XSetRGBColormaps .</function>
+<function>XSetRGBColormaps</function>.
<indexterm significance="preferred"><primary>XSetRGBColormaps</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -5027,7 +5027,7 @@ Determine the color characteristics of the visual.
<listitem>
<para>
Allocate cells in the colormap (or create it with
-<function>AllocAll ).</function>
+<function>AllocAll</function>).
</para>
</listitem>
<listitem>
@@ -5067,8 +5067,8 @@ Ungrab the server.
<!-- .LP -->
<function>XSetRGBColormaps</function>
can generate
-<function>BadAlloc ,</function>
-<function>BadAtom ,</function>
+<function>BadAlloc</function>,
+<function>BadAtom</function>,
and
<function>BadWindow</function>
errors.
@@ -5079,7 +5079,7 @@ errors.
To obtain the
<function>XStandardColormap </function>
structure associated with the specified property, use
-<function>XGetRGBColormaps .</function>
+<function>XGetRGBColormaps</function>.
<indexterm significance="preferred"><primary>XGetRGBColormaps</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
diff --git a/specs/libX11/CH15.xml b/specs/libX11/CH15.xml
index 3cf50b8..7f3de6e 100644
--- a/specs/libX11/CH15.xml
+++ b/specs/libX11/CH15.xml
@@ -337,7 +337,7 @@ in many of the resource manager functions.
Simple comparisons can be performed rather than string comparisons.
The shorthand name for a string is called a quark and is the
type
-<function>XrmQuark .</function>
+<function>XrmQuark</function>.
On some occasions,
you may want to allocate a quark that has no string equivalent.
</para>
@@ -350,7 +350,7 @@ but its use is entirely local to your application.
<!-- .LP -->
<!-- .sp -->
To allocate a new quark, use
-<function>XrmUniqueQuark .</function>
+<function>XrmUniqueQuark</function>.
</para>
<indexterm significance="preferred"><primary>XrmUniqueQuark</primary></indexterm>
<!-- .sM -->
@@ -368,7 +368,7 @@ is known to the resource manager.
<!-- .LP -->
<!-- .sp -->
Each name, class, and representation type is typedef'd as an
-<function>XrmQuark .</function>
+<function>XrmQuark</function>.
</para>
<para>
<!-- .LP -->
@@ -402,7 +402,7 @@ typedef XrmQuarkList XrmClassList;
To convert a string to a quark, use
<function>XrmStringToQuark</function>
or
-<function>XrmPermStringToQuark .</function>
+<function>XrmPermStringToQuark</function>.
</para>
<literallayout class="monospaced">
#define XrmStringToName(string) XrmStringToQuark(string)
@@ -444,11 +444,11 @@ The string argument to
need not be permanently allocated storage.
<function>XrmPermStringToQuark</function>
is just like
-<function>XrmStringToQuark ,</function>
+<function>XrmStringToQuark</function>,
except that Xlib is permitted to assume the string argument is permanently
allocated,
and, hence, that it can be used as the value to be returned by
-<function>XrmQuarkToString .</function>
+<function>XrmQuarkToString</function>.
</para>
<para>
<!-- .LP -->
@@ -461,7 +461,7 @@ all future calls will return the same value (identical address).
<!-- .LP -->
<!-- .sp -->
To convert a quark to a string, use
-<function>XrmQuarkToString .</function>
+<function>XrmQuarkToString</function>.
</para>
<literallayout class="monospaced">
@@ -508,7 +508,7 @@ all future calls will return the same value (identical address).
<!-- .LP -->
<!-- .sp -->
To convert a string with one or more components to a quark list, use
-<function>XrmStringToQuarkList .</function>
+<function>XrmStringToQuarkList</function>.
</para>
<literallayout class="monospaced">
@@ -546,7 +546,7 @@ Specifies the string for which a quark(Ql is to be allocated.
<para>
Returns the list of quarks.
The caller must allocate sufficient space for the quarks list before calling
-<function>XrmStringToQuarkList .</function>
+<function>XrmStringToQuarkList</function>.
</para>
</listitem>
</varlistentry>
@@ -589,7 +589,7 @@ indicates that an asterisk separates the components.
<!-- .sp -->
To convert a string with one or more components to a binding list
and a quark list, use
-<function>XrmStringToBindingQuarkList .</function>
+<function>XrmStringToBindingQuarkList</function>.
<indexterm significance="preferred"><primary>XrmStringToBindingQuarkList</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -621,7 +621,7 @@ Specifies the string for which a quark(Ql is to be allocated.
<para>
Returns the binding list.
The caller must allocate sufficient space for the binding list before calling
-<function>XrmStringToBindingQuarkList .</function>
+<function>XrmStringToBindingQuarkList</function>.
</para>
</listitem>
</varlistentry>
@@ -633,7 +633,7 @@ The caller must allocate sufficient space for the binding list before calling
<para>
Returns the list of quarks.
The caller must allocate sufficient space for the quarks list before calling
-<function>XrmStringToBindingQuarkList .</function>
+<function>XrmStringToBindingQuarkList</function>.
</para>
</listitem>
</varlistentry>
@@ -668,7 +668,7 @@ bindings: loose tight loose
<!-- .LP -->
<indexterm significance="preferred"><primary>XrmDatabase</primary></indexterm>
A resource database is an opaque type,
-<function>XrmDatabase .</function>
+<function>XrmDatabase</function>.
Each database value is stored in an
<function>XrmValue </function>
structure.
@@ -699,7 +699,7 @@ typedef struct {
<!-- .eM -->
<!-- .sp -->
To initialize the resource manager, use
-<function>XrmInitialize .</function>
+<function>XrmInitialize</function>.
<indexterm significance="preferred"><primary>XrmInitialize</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -714,7 +714,7 @@ To initialize the resource manager, use
<!-- .LP -->
<!-- .eM -->
To retrieve a database from disk, use
-<function>XrmGetFileDatabase .</function>
+<function>XrmGetFileDatabase</function>.
<indexterm significance="preferred"><primary>XrmGetFileDatabase</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -758,7 +758,7 @@ returns NULL.
<!-- .LP -->
<!-- .sp -->
To store a copy of a database to disk, use
-<function>XrmPutFileDatabase .</function>
+<function>XrmPutFileDatabase</function>.
<indexterm significance="preferred"><primary>XrmPutFileDatabase</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -811,7 +811,7 @@ Entries with representation types other than ``String'' are ignored.
<!-- .LP -->
<!-- .sp -->
To obtain a pointer to the screen-independent resources of a display, use
-<function>XResourceManagerString .</function>
+<function>XResourceManagerString</function>.
<indexterm significance="preferred"><primary>XResourceManagerString</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -841,21 +841,21 @@ The
<function>XResourceManagerString</function>
function returns the RESOURCE_MANAGER property from the server's root
window of screen zero, which was returned when the connection was opened using
-<function>XOpenDisplay .</function>
+<function>XOpenDisplay</function>.
The property is converted from type STRING to the current locale.
The conversion is identical to that produced by
<function>XmbTextPropertyToTextList</function>
for a single element STRING property.
The returned string is owned by Xlib and should not be freed by the client.
The property value must be in a format that is acceptable to
-<function>XrmGetStringDatabase .</function>
+<function>XrmGetStringDatabase</function>.
If no property exists, NULL is returned.
</para>
<para>
<!-- .LP -->
<!-- .sp -->
To obtain a pointer to the screen-specific resources of a screen, use
-<function>XScreenResourceString .</function>
+<function>XScreenResourceString</function>.
<indexterm significance="preferred"><primary>XScreenResourceString</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -890,16 +890,16 @@ The conversion is identical to that produced by
<function>XmbTextPropertyToTextList</function>
for a single element STRING property.
The property value must be in a format that is acceptable to
-<function>XrmGetStringDatabase .</function>
+<function>XrmGetStringDatabase</function>.
If no property exists, NULL is returned.
The caller is responsible for freeing the returned string by using
-<function>XFree .</function>
+<function>XFree</function>.
</para>
<para>
<!-- .LP -->
<!-- .sp -->
To create a database from a string, use
-<function>XrmGetStringDatabase .</function>
+<function>XrmGetStringDatabase</function>.
<indexterm significance="preferred"><primary>XrmGetStringDatabase</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -944,7 +944,7 @@ and the database is created in the current locale.
<!-- .LP -->
<!-- .sp -->
To obtain the locale name of a database, use
-<function>XrmLocaleOfDatabase .</function>
+<function>XrmLocaleOfDatabase</function>.
<indexterm significance="preferred"><primary>XrmLocaleOfDatabase</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -984,7 +984,7 @@ it will not be modified by Xlib.
<!-- .LP -->
<!-- .sp -->
To destroy a resource database and free its allocated memory, use
-<function>XrmDestroyDatabase .</function>
+<function>XrmDestroyDatabase</function>.
<indexterm significance="preferred"><primary>XrmDestroyDatabase</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1018,7 +1018,7 @@ returns immediately.
<!-- .LP -->
<!-- .sp -->
To associate a resource database with a display, use
-<function>XrmSetDatabase .</function>
+<function>XrmSetDatabase</function>.
<indexterm significance="preferred"><primary>XrmSetDatabase</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1067,7 +1067,7 @@ once it is constructed.
<!-- .LP -->
<!-- .sp -->
To get the resource database associated with a display, use
-<function>XrmGetDatabase .</function>
+<function>XrmGetDatabase</function>.
<indexterm significance="preferred"><primary>XrmGetDatabase</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1107,7 +1107,7 @@ It returns NULL if a database has not yet been set.
<para>
<!-- .LP -->
To merge the contents of a resource file into a database, use
-<function>XrmCombineFileDatabase .</function>
+<function>XrmCombineFileDatabase</function>.
<indexterm significance="preferred"><primary>XrmCombineFileDatabase</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1163,7 +1163,7 @@ If the same specifier is used for an entry in both the file and
the database,
the entry in the file will replace the entry in the database
if override is
-<function>True ;</function>
+<function>True</function>;
otherwise, the entry in the file is discarded.
The file is parsed in the current locale.
If the file cannot be read,
@@ -1181,7 +1181,7 @@ The locale of the target database is not modified.
<!-- .LP -->
<!-- .sp -->
To merge the contents of one database into another database, use
-<function>XrmCombineDatabase .</function>
+<function>XrmCombineDatabase</function>.
<indexterm significance="preferred"><primary>XrmCombineDatabase</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1235,7 +1235,7 @@ function merges the contents of one database into another.
If the same specifier is used for an entry in both databases,
the entry in the source_db will replace the entry in the target_db
if override is
-<function>True ;</function>
+<function>True</function>;
otherwise, the entry in source_db is discarded.
If target_db contains NULL,
<function>XrmCombineDatabase</function>
@@ -1251,7 +1251,7 @@ The locale of the target database is not modified.
<!-- .sp -->
To merge the contents of one database into another database with override
semantics, use
-<function>XrmMergeDatabases .</function>
+<function>XrmMergeDatabases</function>.
<indexterm significance="preferred"><primary>XrmMergeDatabases</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1293,7 +1293,7 @@ Calling the
function is equivalent to calling the
<function>XrmCombineDatabase</function>
function with an override argument of
-<function>True .</function>
+<function>True</function>.
</para>
</sect1>
<sect1 id="Looking_Up_Resources">
@@ -1304,10 +1304,10 @@ function with an override argument of
<para>
<!-- .LP -->
To retrieve a resource from a resource database, use
-<function>XrmGetResource ,</function>
-<function>XrmQGetResource ,</function>
+<function>XrmGetResource</function>,
+<function>XrmQGetResource</function>,
or
-<function>XrmQGetSearchResource .</function>
+<function>XrmQGetSearchResource</function>.
</para>
<para>
<!-- .LP -->
@@ -1465,10 +1465,10 @@ therefore, you must not modify the data.
<para>
<!-- .LP -->
The database only frees or overwrites entries on
-<function>XrmPutResource , </function>
-<function>XrmQPutResource ,</function>
+<function>XrmPutResource</function>,
+<function>XrmQPutResource</function>,
or
-<function>XrmMergeDatabases .</function>
+<function>XrmMergeDatabases</function>.
A client that is not storing new values into the database or
is not merging the database should be safe using the address passed
back at any time until it exits.
@@ -1477,9 +1477,9 @@ If a resource was found, both
and
<function>XrmQGetResource </function>
return
-<function>True ;</function>
+<function>True</function>;
otherwise, they return
-<function>False .</function>
+<function>False</function>.
</para>
<para>
<!-- .LP -->
@@ -1503,7 +1503,7 @@ of database levels that might match the first part of a name/class list.
<!-- .LP -->
<!-- .sp -->
To obtain a list of database levels, use
-<function>XrmQGetSearchList .</function>
+<function>XrmQGetSearchList</function>.
<indexterm significance="preferred"><primary>XrmQGetSearchList</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1556,7 +1556,7 @@ Specifies a list of resource classes.
<para>
Returns a search list for further use.
The caller must allocate sufficient space for the list before calling
-<function>XrmQGetSearchList .</function>
+<function>XrmQGetSearchList</function>.
</para>
</listitem>
</varlistentry>
@@ -1586,9 +1586,9 @@ for determining precedence.
If list_return was large enough for the search list,
<function>XrmQGetSearchList</function>
returns
-<function>True ;</function>
+<function>True</function>;
otherwise, it returns
-<function>False .</function>
+<function>False</function>.
</para>
<para>
<!-- .LP -->
@@ -1604,13 +1604,13 @@ When using
<function>XrmQGetSearchList </function>
followed by multiple probes for resources with a common name and class prefix,
only the common prefix should be specified in the name and class list to
-<function>XrmQGetSearchList .</function>
+<function>XrmQGetSearchList</function>.
</para>
<para>
<!-- .LP -->
<!-- .sp -->
To search resource database levels for a given resource, use
-<function>XrmQGetSearchResource .</function>
+<function>XrmQGetSearchResource</function>.
<indexterm significance="preferred"><primary>XrmQGetSearchResource</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1632,7 +1632,7 @@ To search resource database levels for a given resource, use
<listitem>
<para>
Specifies the search list returned by
-<function>XrmQGetSearchList .</function>
+<function>XrmQGetSearchList</function>.
</para>
</listitem>
</varlistentry>
@@ -1691,7 +1691,7 @@ returns
<function>True </function>
if the resource was found;
otherwise, it returns
-<function>False .</function>
+<function>False</function>.
</para>
<para>
<!-- .LP -->
@@ -1717,7 +1717,7 @@ with the fully qualified name and class.
To store resources into the database, use
<function>XrmPutResource </function>
or
-<function>XrmQPutResource .</function>
+<function>XrmQPutResource</function>.
Both functions take a partial resource specification, a
representation type, and a value.
This value is copied into the specified database.
@@ -1884,7 +1884,7 @@ The value is stored in the database without modification.
<!-- .LP -->
<!-- .sp -->
To add a resource that is specified as a string, use
-<function>XrmPutStringResource .</function>
+<function>XrmPutStringResource</function>.
<indexterm significance="preferred"><primary>XrmPutStringResource</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1941,7 +1941,7 @@ adds a resource with the specified value to the specified database.
is a convenience function that first calls
<function>XrmStringToBindingQuarkList</function>
on the specifier and then calls
-<function>XrmQPutResource ,</function>
+<function>XrmQPutResource</function>,
using a ``String'' representation type.
If the specifier is not in the Host Portable Character Encoding,
the result is implementation-dependent.
@@ -1951,7 +1951,7 @@ The value is stored in the database without modification.
<!-- .LP -->
<!-- .sp -->
To add a string resource using quarks as a specification, use
-<function>XrmQPutStringResource .</function>
+<function>XrmQPutStringResource</function>.
<indexterm significance="preferred"><primary>XrmQPutStringResource</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2020,7 +2020,7 @@ for the value string (by calling
<function>strlen</function>
to compute the size) and
then calls
-<function>XrmQPutResource ,</function>
+<function>XrmQPutResource</function>,
using a ``String'' representation type.
The value is stored in the database without modification.
</para>
@@ -2029,7 +2029,7 @@ The value is stored in the database without modification.
<!-- .sp -->
To add a single resource entry that is specified as a string that contains
both a name and a value, use
-<function>XrmPutLineResource .</function>
+<function>XrmPutLineResource</function>.
<indexterm significance="preferred"><primary>XrmPutLineResource</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2091,7 +2091,7 @@ Note that comment lines are not stored.
<para>
<!-- .LP -->
To enumerate the entries of a database, use
-<function>XrmEnumerateDatabase .</function>
+<function>XrmEnumerateDatabase</function>.
<indexterm significance="preferred"><primary>XrmEnumerateDatabase</primary></indexterm>
<!-- .sM -->
</para>
@@ -2185,20 +2185,20 @@ function calls the specified procedure for each resource in the database
that would match some completion of the given name/class resource prefix.
The order in which resources are found is implementation-dependent.
If mode is
-<function>XrmEnumOneLevel ,</function>
+<function>XrmEnumOneLevel</function>,
a resource must match the given name/class prefix with
just a single name and class appended. If mode is
-<function>XrmEnumAllLevels ,</function>
+<function>XrmEnumAllLevels</function>,
the resource must match the given name/class prefix with one or more names and
classes appended.
If the procedure returns
-<function>True ,</function>
+<function>True</function>,
the enumeration terminates and the function returns
-<function>True . </function>
+<function>True</function>.
If the procedure always returns
-<function>False ,</function>
+<function>False</function>,
all matching resources are enumerated and the function returns
-<function>False .</function>
+<function>False</function>.
</para>
<para>
<!-- .LP -->
@@ -2223,7 +2223,7 @@ The procedure is called with the following arguments:
<para>
<!-- .LP -->
The bindings and quarks lists are terminated by
-<function>NULLQUARK .</function>
+<function>NULLQUARK</function>.
Note that pointers
to the database and type are passed, but these values should not be modified.
</para>
@@ -2302,7 +2302,7 @@ typedef struct {
<!-- .eM -->
<!-- .sp -->
To load a resource database from a C command line, use
-<function>XrmParseCommand .</function>
+<function>XrmParseCommand</function>.
<indexterm significance="preferred"><primary>XrmParseCommand</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2404,7 +2404,7 @@ in the order they occur in argv.
The table entries contain information on the option string,
the option name, the style of option,
and a value to provide if the option kind is
-<function>XrmoptionNoArg .</function>
+<function>XrmoptionNoArg</function>.
The option names are compared byte-for-byte to arguments in argv,
independent of any locale.
The resource values given in the table are stored in the resource database
diff --git a/specs/libX11/CH16.xml b/specs/libX11/CH16.xml
index d7e6dc2..5fa2cd0 100644
--- a/specs/libX11/CH16.xml
+++ b/specs/libX11/CH16.xml
@@ -94,7 +94,7 @@ use the functions described in section 12.7.
<!-- .LP -->
<!-- .sp -->
To obtain a KeySym for the KeyCode of an event, use
-<function>XLookupKeysym .</function>
+<function>XLookupKeysym</function>.
<indexterm significance="preferred"><primary>XLookupKeysym</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -146,13 +146,13 @@ structure.
If no KeySym is defined for the KeyCode of the event,
<function>XLookupKeysym</function>
returns
-<function>NoSymbol .</function>
+<function>NoSymbol</function>.
</para>
<para>
<!-- .LP -->
<!-- .sp -->
To obtain a KeySym for a specific KeyCode, use
-<function>XKeycodeToKeysym .</function>
+<function>XKeycodeToKeysym</function>.
<indexterm significance="preferred"><primary>XKeycodeToKeysym</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -208,13 +208,13 @@ the element of the KeyCode vector.
If no symbol is defined,
<function>XKeycodeToKeysym</function>
returns
-<function>NoSymbol .</function>
+<function>NoSymbol</function>.
</para>
<para>
<!-- .LP -->
<!-- .sp -->
To obtain a KeyCode for a key having a specific KeySym, use
-<function>XKeysymToKeycode .</function>
+<function>XKeysymToKeycode</function>.
<indexterm significance="preferred"><primary>XKeysymToKeycode</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -262,7 +262,7 @@ The mapping between KeyCodes and KeySyms is cached internal to Xlib.
When this information is changed at the server, an Xlib function must
be called to refresh the cache.
To refresh the stored modifier and keymap information, use
-<function>XRefreshKeyboardMapping .</function>
+<function>XRefreshKeyboardMapping</function>.
<indexterm significance="preferred"><primary>XRefreshKeyboardMapping</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -304,7 +304,7 @@ The result is to update Xlib's knowledge of the keyboard.
<!-- .LP -->
<!-- .sp -->
To obtain the uppercase and lowercase forms of a KeySym, use
-<function>XConvertCase .</function>
+<function>XConvertCase</function>.
<indexterm significance="preferred"><primary>XConvertCase</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -367,7 +367,7 @@ implementation-dependent.
<!-- .sp -->
KeySyms have string names as well as numeric codes.
To convert the name of the KeySym to the KeySym code, use
-<function>XStringToKeysym .</function>
+<function>XStringToKeysym</function>.
<indexterm significance="preferred"><primary>XStringToKeysym</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -408,13 +408,13 @@ the result is implementation-dependent.
If the specified string does not match a valid KeySym,
<function>XStringToKeysym</function>
returns
-<function>NoSymbol .</function>
+<function>NoSymbol</function>.
</para>
<para>
<!-- .LP -->
<!-- .sp -->
To convert a KeySym code to the name of the KeySym, use
-<function>XKeysymToString .</function>
+<function>XKeysymToString</function>.
<indexterm significance="preferred"><primary>XKeysymToString</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -662,7 +662,7 @@ described in chapter 13 and does not depend on the current locale.
<!-- .LP -->
<!-- .sp -->
To map a key event to an ISO Latin-1 string, use
-<function>XLookupString .</function>
+<function>XLookupString</function>.
<indexterm significance="preferred"><primary>XLookupString</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -687,7 +687,7 @@ Specifies the key event structure to be used.
You can pass
<function>XKeyPressedEvent</function>
or
-<function>XKeyReleasedEvent .</function>
+<function>XKeyReleasedEvent</function>.
</para>
</listitem>
</varlistentry>
@@ -743,11 +743,11 @@ The
<function>XLookupString</function>
function translates a key event to a KeySym and a string.
The KeySym is obtained by using the standard interpretation of the
-<function>Shift ,</function>
-<function>Lock ,</function>
+<function>Shift</function>,
+<function>Lock</function>,
group, and numlock modifiers as defined in the X Protocol specification.
If the KeySym has been rebound (see
-<function>XRebindKeysym ),</function>
+<function>XRebindKeysym</function>),
the bound string will be stored in the buffer.
Otherwise, the KeySym is mapped, if possible, to an ISO Latin-1 character
or (if the Control modifier is on) to an ASCII control character,
@@ -782,9 +782,9 @@ to keep this information up-to-date.
<!-- .LP -->
<!-- .sp -->
To rebind the meaning of a KeySym for
-<function>XLookupString ,</function>
+<function>XLookupString</function>,
use
-<function>XRebindKeysym .</function>
+<function>XRebindKeysym</function>.
<indexterm significance="preferred"><primary>XRebindKeysym</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -848,7 +848,7 @@ Specifies the number of modifiers in the modifier list.
<listitem>
<para>
Specifies the string that is copied and will be returned by
-<function>XLookupString .</function>
+<function>XLookupString</function>.
</para>
</listitem>
</varlistentry>
@@ -889,7 +889,7 @@ Note that you can rebind a KeySym that may not exist.
<para>
<!-- .LP -->
To allocate some memory you will never give back, use
-<function>Xpermalloc .</function>
+<function>Xpermalloc</function>.
<indexterm significance="preferred"><primary>Xpermalloc</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -919,7 +919,7 @@ the standard operating system memory allocator.
<para>
<!-- .LP -->
To parse standard window geometry strings, use
-<function>XParseGeometry .</function>
+<function>XParseGeometry</function>.
<indexterm><primary>Window</primary><secondary>determining location</secondary></indexterm>
<indexterm significance="preferred"><primary>XParseGeometry</primary></indexterm>
</para>
@@ -1029,11 +1029,11 @@ be able to say ``position the window relative to the right or bottom edge.''
For each value found, the corresponding argument is updated.
For each value not found, the argument is left unchanged.
The bits are represented by
-<function>XValue , </function>
-<function>YValue , </function>
-<function>WidthValue , </function>
-<function>HeightValue ,</function>
-<function>XNegative , </function>
+<function>XValue</function>,
+<function>YValue</function>,
+<function>WidthValue</function>,
+<function>HeightValue</function>,
+<function>XNegative</function>,
or
<function>YNegative</function>
and are defined in
@@ -1054,7 +1054,7 @@ you should place the window at the requested position.
<para>
<!-- .LP -->
To construct a window's geometry information, use
-<function>XWMGeometry .</function>
+<function>XWMGeometry</function>.
<indexterm significance="preferred"><primary>XWMGeometry</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1194,15 +1194,15 @@ Returns the window gravity.
The
<function>XWMGeometry </function>
function combines any geometry information (given in the format used by
-<function>XParseGeometry )</function>
+<function>XParseGeometry</function>)
specified by the user and by the calling program with size hints
(usually the ones to be stored in WM_NORMAL_HINTS) and returns the position,
size, and gravity
-<function>( NorthWestGravity , </function>
-<function>NorthEastGravity , </function>
-<function>SouthEastGravity ,</function>
+(<function>NorthWestGravity</function>,
+<function>NorthEastGravity</function>,
+<function>SouthEastGravity</function>,
or
-<function>SouthWestGravity ) </function>
+<function>SouthWestGravity</function>)
that describe the window.
If the base size is not set in the
<function>XSizeHints</function>
@@ -1212,7 +1212,7 @@ Otherwise, a base size of zero is assumed.
If no minimum size is set in the hints structure,
the base size is used.
A mask (in the form returned by
-<function>XParseGeometry ) </function>
+<function>XParseGeometry</function>)
that describes which values came from the user specification
and whether or not the position coordinates are relative
to the right and bottom edges is returned.
@@ -1280,7 +1280,7 @@ Locate a point or rectangle in a region
<para>
<!-- .LP -->
To create a new empty region, use
-<function>XCreateRegion .</function>
+<function>XCreateRegion</function>.
</para>
<para>Region XCreateRegion()</para>
@@ -1289,7 +1289,7 @@ To create a new empty region, use
<!-- .eM -->
<!-- .sp -->
To generate a region from a polygon, use
-<function>XPolygonRegion .</function>
+<function>XPolygonRegion</function>.
</para>
<indexterm significance="preferred"><primary>XPolygonRegion</primary></indexterm>
<!-- .sM -->
@@ -1333,7 +1333,7 @@ Specifies the fill-rule you want to set for the specified GC.
You can pass
<function>EvenOddRule</function>
or
-<function>WindingRule .</function>
+<function>WindingRule</function>.
</para>
</listitem>
</varlistentry>
@@ -1347,13 +1347,13 @@ The
function returns a region for the polygon defined by the points array.
For an explanation of fill_rule,
see
-<function>XCreateGC .</function>
+<function>XCreateGC</function>.
</para>
<para>
<!-- .LP -->
<!-- .sp -->
To set the clip-mask of a GC to a region, use
-<function>XSetRegion .</function>
+<function>XSetRegion</function>.
<indexterm significance="preferred"><primary>XSetRegion</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1413,7 +1413,7 @@ the region can be destroyed.
<!-- .LP -->
<!-- .sp -->
To deallocate the storage associated with a specified region, use
-<function>XDestroyRegion .</function>
+<function>XDestroyRegion</function>.
<indexterm significance="preferred"><primary>XDestroyRegion</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1449,7 +1449,7 @@ Specifies the region.
<para>
<!-- .LP -->
To move a region by a specified amount, use
-<function>XOffsetRegion .</function>
+<function>XOffsetRegion</function>.
<indexterm significance="preferred"><primary>XOffsetRegion</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1501,7 +1501,7 @@ which define the amount you want to (Dy the specified region.
<!-- .eM -->
<!-- .sp -->
To reduce a region by a specified amount, use
-<function>XShrinkRegion .</function>
+<function>XShrinkRegion</function>.
<indexterm significance="preferred"><primary>XShrinkRegion</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1564,7 +1564,7 @@ and negative values expand the region.
<!-- .LP -->
<!-- .sp -->
To generate the smallest rectangle enclosing a region, use
-<function>XClipBox .</function>
+<function>XClipBox</function>.
<indexterm significance="preferred"><primary>XClipBox</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1609,7 +1609,7 @@ function returns the smallest rectangle enclosing the specified region.
<para>
<!-- .LP -->
To compute the intersection of two regions, use
-<function>XIntersectRegion .</function>
+<function>XIntersectRegion</function>.
<indexterm significance="preferred"><primary>XIntersectRegion</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1658,7 +1658,7 @@ Returns the result of the computation.
<!-- .eM -->
<!-- .sp -->
To compute the union of two regions, use
-<function>XUnionRegion .</function>
+<function>XUnionRegion</function>.
<indexterm significance="preferred"><primary>XUnionRegion</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1707,7 +1707,7 @@ Returns the result of the computation.
<!-- .eM -->
<!-- .sp -->
To create a union of a source region and a rectangle, use
-<function>XUnionRectWithRegion .</function>
+<function>XUnionRectWithRegion</function>.
<indexterm significance="preferred"><primary>XUnionRectWithRegion</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1764,7 +1764,7 @@ and the specified source region.
<!-- .LP -->
<!-- .sp -->
To subtract two regions, use
-<function>XSubtractRegion .</function>
+<function>XSubtractRegion</function>.
<indexterm significance="preferred"><primary>XSubtractRegion</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1820,7 +1820,7 @@ function subtracts srb from sra and stores the results in dr_return.
<!-- .sp -->
To calculate the difference between the union and intersection
of two regions, use
-<function>XXorRegion .</function>
+<function>XXorRegion</function>.
<indexterm significance="preferred"><primary>XXorRegion</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1877,7 +1877,7 @@ Returns the result of the computation.
<para>
<!-- .LP -->
To determine if the specified region is empty, use
-<function>XEmptyRegion .</function>
+<function>XEmptyRegion</function>.
<indexterm significance="preferred"><primary>XEmptyRegion</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1913,7 +1913,7 @@ if the region is empty.
<!-- .LP -->
<!-- .sp -->
To determine if two regions have the same offset, size, and shape, use
-<function>XEqualRegion .</function>
+<function>XEqualRegion</function>.
<indexterm significance="preferred"><primary>XEqualRegion</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -1965,7 +1965,7 @@ if the two regions have the same offset, size, and shape.
<para>
<!-- .LP -->
To determine if a specified point resides in a specified region, use
-<function>XPointInRegion .</function>
+<function>XPointInRegion</function>.
<indexterm significance="preferred"><primary>XPointInRegion</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2024,7 +2024,7 @@ if the point (x, y) is contained in the region r.
<!-- .LP -->
<!-- .sp -->
To determine if a specified rectangle is inside a region, use
-<function>XRectInRegion .</function>
+<function>XRectInRegion</function>.
<indexterm significance="preferred"><primary>XRectInRegion</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2136,7 +2136,7 @@ and can be accessed as a ring or as explicit buffers (numbered 0 through 7).
<!-- .LP -->
<!-- .sp -->
To store data in cut buffer 0, use
-<function>XStoreBytes .</function>
+<function>XStoreBytes</function>.
<indexterm significance="preferred"><primary>XStoreBytes</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2188,7 +2188,7 @@ The data can have embedded null characters
and need not be null-terminated.
The cut buffer's contents can be retrieved later by
any client calling
-<function>XFetchBytes .</function>
+<function>XFetchBytes</function>.
</para>
<para>
<!-- .LP -->
@@ -2201,7 +2201,7 @@ error.
<!-- .LP -->
<!-- .sp -->
To store data in a specified cut buffer, use
-<function>XStoreBuffer .</function>
+<function>XStoreBuffer</function>.
<indexterm significance="preferred"><primary>XStoreBuffer</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2276,7 +2276,7 @@ error.
<!-- .LP -->
<!-- .sp -->
To return data from cut buffer 0, use
-<function>XFetchBytes .</function>
+<function>XFetchBytes</function>.
<indexterm significance="preferred"><primary>XFetchBytes</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2322,13 +2322,13 @@ Otherwise, the function
returns NULL and sets nbytes to 0.
The appropriate amount of storage is allocated and the pointer returned.
The client must free this storage when finished with it by calling
-<function>XFree .</function>
+<function>XFree</function>.
</para>
<para>
<!-- .LP -->
<!-- .sp -->
To return data from a specified cut buffer, use
-<function>XFetchBuffer .</function>
+<function>XFetchBuffer</function>.
<indexterm significance="preferred"><primary>XFetchBuffer</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2387,7 +2387,7 @@ buffer is specified.
<!-- .LP -->
<!-- .sp -->
To rotate the cut buffers, use
-<function>XRotateBuffers .</function>
+<function>XRotateBuffers</function>.
<indexterm significance="preferred"><primary>XRotateBuffers</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2504,7 +2504,7 @@ typedef struct {
<!-- .eM -->
To obtain a list of visual information structures that match a specified
template, use
-<function>XGetVisualInfo .</function>
+<function>XGetVisualInfo</function>.
<indexterm significance="preferred"><primary>XGetVisualInfo</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2572,14 +2572,14 @@ If no visual structures match the template using the specified vinfo_mask,
<function>XGetVisualInfo</function>
returns a NULL.
To free the data returned by this function, use
-<function>XFree .</function>
+<function>XFree</function>.
</para>
<para>
<!-- .LP -->
<!-- .sp -->
To obtain the visual information that matches the specified depth and
class of the screen, use
-<function>XMatchVisualInfo .</function>
+<function>XMatchVisualInfo</function>.
<indexterm significance="preferred"><primary>XMatchVisualInfo</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2691,7 +2691,7 @@ images.
The basic operations for getting and putting images are
<function>XGetImage</function>
and
-<function>XPutImage .</function>
+<function>XPutImage</function>.
</para>
<para>
<!-- .LP -->
@@ -2726,7 +2726,7 @@ see section 8.7.
To allocate an
<function>XImage </function>
structure and initialize it with image format values from a display, use
-<function>XCreateImage .</function>
+<function>XCreateImage</function>.
<indexterm significance="preferred"><primary>XCreateImage</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2786,10 +2786,10 @@ Specifies the depth of the image.
<para>
Specifies the format for the image.
You can pass
-<function>XYBitmap ,</function>
-<function>XYPixmap ,</function>
+<function>XYBitmap</function>,
+<function>XYPixmap</function>,
or
-<function>ZPixmap .</function>
+<function>ZPixmap</function>.
</para>
</listitem>
</varlistentry>
@@ -2885,10 +2885,10 @@ in memory and calculates the value of bytes_per_line itself.
<para>
<!-- .LP -->
Note that when the image is created using
-<function>XCreateImage ,</function>
-<function>XGetImage ,</function>
+<function>XCreateImage</function>,
+<function>XGetImage</function>,
or
-<function>XSubImage ,</function>
+<function>XSubImage</function>,
the destroy procedure that the
<function>XDestroyImage</function>
function calls frees both the image structure
@@ -2906,7 +2906,7 @@ in the image object and are defined in
<!-- .LP -->
<!-- .sp -->
To obtain a pixel value in an image, use
-<function>XGetPixel .</function>
+<function>XGetPixel</function>.
<indexterm significance="preferred"><primary>XGetPixel</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -2967,7 +2967,7 @@ The image must contain the x and y coordinates.
<!-- .LP -->
<!-- .sp -->
To set a pixel value in an image, use
-<function>XPutPixel .</function>
+<function>XPutPixel</function>.
<indexterm significance="preferred"><primary>XPutPixel</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3039,7 +3039,7 @@ The image must contain the x and y coordinates.
<!-- .LP -->
<!-- .sp -->
To create a subimage, use
-<function>XSubImage .</function>
+<function>XSubImage</function>.
<indexterm significance="preferred"><primary>XSubImage</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3125,7 +3125,7 @@ and subimage_height.
<!-- .LP -->
<!-- .sp -->
To increment each pixel in an image by a constant value, use
-<function>XAddPixel .</function>
+<function>XAddPixel</function>.
<indexterm significance="preferred"><primary>XAddPixel</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3172,9 +3172,9 @@ color resources and need to manipulate the image to that form.
<!-- .LP -->
<!-- .sp -->
To deallocate the memory allocated in a previous call to
-<function>XCreateImage ,</function>
+<function>XCreateImage</function>,
use
-<function>XDestroyImage .</function>
+<function>XDestroyImage</function>.
<indexterm significance="preferred"><primary>XDestroyImage</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3209,10 +3209,10 @@ structure.
<para>
<!-- .LP -->
Note that when the image is created using
-<function>XCreateImage ,</function>
-<function>XGetImage ,</function>
+<function>XCreateImage</function>,
+<function>XGetImage</function>,
or
-<function>XSubImage ,</function>
+<function>XSubImage</function>,
the destroy procedure that this macro calls
frees both the image structure and the data pointed to by the image structure.
</para>
@@ -3261,7 +3261,7 @@ The bitmap unit is 8.
<!-- .LP -->
<!-- .sp -->
To read a bitmap from a file and store it in a pixmap, use
-<function>XReadBitmapFile .</function>
+<function>XReadBitmapFile</function>.
<indexterm significance="preferred"><primary>XReadBitmapFile</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3375,16 +3375,16 @@ is implementation-dependent.
If the file cannot be opened,
<function>XReadBitmapFile </function>
returns
-<function>BitmapOpenFailed . </function>
+<function>BitmapOpenFailed</function>.
If the file can be opened but does not contain valid bitmap data,
it returns
-<function>BitmapFileInvalid . </function>
+<function>BitmapFileInvalid</function>.
If insufficient working storage is allocated,
it returns
-<function>BitmapNoMemory . </function>
+<function>BitmapNoMemory</function>.
If the file is readable and valid,
it returns
-<function>BitmapSuccess .</function>
+<function>BitmapSuccess</function>.
</para>
<para>
<!-- .LP -->
@@ -3406,8 +3406,8 @@ otherwise, it returns \-1,\-1.
<!-- .LP -->
<function>XReadBitmapFile</function>
can generate
-<function>BadAlloc ,</function>
-<function>BadDrawable ,</function>
+<function>BadAlloc</function>,
+<function>BadDrawable</function>,
and
<function>BadGC</function>
errors.
@@ -3416,7 +3416,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To read a bitmap from a file and return it as data, use
-<function>XReadBitmapFileData .</function>
+<function>XReadBitmapFileData</function>.
<indexterm significance="preferred"><primary>XReadBitmapFileData</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3501,19 +3501,19 @@ Return the hotspot coordinates.
The
<function>XReadBitmapFileData</function>
function reads in a file containing a bitmap, in the same manner as
-<function>XReadBitmapFile ,</function>
+<function>XReadBitmapFile</function>,
but returns the data directly rather than creating a pixmap in the server.
The bitmap data is returned in data_return; the client must free this
storage when finished with it by calling
-<function>XFree .</function>
+<function>XFree</function>.
The status and other return values are the same as for
-<function>XReadBitmapFile .</function>
+<function>XReadBitmapFile</function>.
</para>
<para>
<!-- .LP -->
<!-- .sp -->
To write out a bitmap from a pixmap to a file, use
-<function>XWriteBitmapFile .</function>
+<function>XWriteBitmapFile</function>.
<indexterm significance="preferred"><primary>XWriteBitmapFile</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3615,14 +3615,14 @@ by deleting the directory prefix.
The file is written in the encoding of the current locale.
If the file cannot be opened for writing,
it returns
-<function>BitmapOpenFailed . </function>
+<function>BitmapOpenFailed</function>.
If insufficient memory is allocated,
<function>XWriteBitmapFile</function>
returns
-<function>BitmapNoMemory ;</function>
+<function>BitmapNoMemory</function>;
otherwise, on no error,
it returns
-<function>BitmapSuccess .</function>
+<function>BitmapSuccess</function>.
If x_hot and y_hot are not \-1, \-1,
<function>XWriteBitmapFile</function>
writes them out as the hotspot coordinates for the bitmap.
@@ -3640,7 +3640,7 @@ errors.
<!-- .LP -->
<!-- .sp -->
To create a pixmap and then store bitmap-format data into it, use
-<function>XCreatePixmapFromBitmapData .</function>
+<function>XCreatePixmapFromBitmapData</function>.
<indexterm significance="preferred"><primary>XCreatePixmapFromBitmapData</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3758,9 +3758,9 @@ error results.
<!-- .LP -->
<function>XCreatePixmapFromBitmapData</function>
can generate
-<function>BadAlloc ,</function>
-<function>BadDrawable ,</function>
-<function>BadGC ,</function>
+<function>BadAlloc</function>,
+<function>BadDrawable</function>,
+<function>BadGC</function>,
and
<function>BadValue</function>
errors.
@@ -3772,7 +3772,7 @@ To include a bitmap written out by
<function>XWriteBitmapFile </function>
<indexterm><primary>XWriteBitmapFile</primary></indexterm>
in a program directly, as opposed to reading it in every time at run time, use
-<function>XCreateBitmapFromData .</function>
+<function>XCreateBitmapFromData</function>.
<indexterm significance="preferred"><primary>XCreateBitmapFromData</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3846,7 +3846,7 @@ Specify the width and height.
The
<function>XCreateBitmapFromData</function>
function allows you to include in your C program (using
-<function>#include )</function>
+<function>#include</function>)
a bitmap file that was written out by
<function>XWriteBitmapFile</function>
(X version 11 format only) without reading in the bitmap file.
@@ -3866,7 +3866,7 @@ bitmap = XCreateBitmapFromData(display, window, gray_bits, gray_width, gray_heig
If insufficient working storage was allocated,
<function>XCreateBitmapFromData</function>
returns
-<function>None .</function>
+<function>None</function>.
It is your responsibility to free the
bitmap using
<function>XFreePixmap</function>
@@ -3915,7 +3915,7 @@ The symbols used are in
<!-- .LP -->
<!-- .sp -->
To save a data value that corresponds to a resource ID and context type, use
-<function>XSaveContext .</function>
+<function>XSaveContext</function>.
<indexterm significance="preferred"><primary>XSaveContext</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -3989,7 +3989,7 @@ Possible errors are
<!-- .LP -->
<!-- .sp -->
To get the data associated with a resource ID and type, use
-<function>XFindContext .</function>
+<function>XFindContext</function>.
<indexterm significance="preferred"><primary>XFindContext</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -4062,7 +4062,7 @@ Possible errors are
<!-- .LP -->
<!-- .sp -->
To delete an entry for a given resource ID and type, use
-<function>XDeleteContext .</function>
+<function>XDeleteContext</function>.
<indexterm significance="preferred"><primary>XDeleteContext</primary></indexterm>
<!-- .sM -->
<funcsynopsis>
@@ -4126,9 +4126,9 @@ does not free the data whose address was saved.
To create a unique context type that may be used in subsequent calls to
<function>XSaveContext </function>
and
-<function>XFindContext ,</function>
+<function>XFindContext</function>,
use
-<function>XUniqueContext .</function>
+<function>XUniqueContext</function>.
</para>
<para>XContext XuniqueContext()</para>
diff --git a/specs/libX11/glossary.xml b/specs/libX11/glossary.xml
index c912737..037ea8d 100644
--- a/specs/libX11/glossary.xml
+++ b/specs/libX11/glossary.xml
@@ -91,13 +91,13 @@ fields of an <acronym>XLFD</acronym> name identify the charset of the font.
A base font name may be a full <acronym>XLFD</acronym> name, with all fourteen '-' delimiters,
or an abbreviated <acronym>XLFD</acronym> name containing only the first 12 fields of an <acronym>XLFD</acronym> name,
up to but not including
-<function>CharSetRegistry ,</function>
+<function>CharSetRegistry</function>,
with or without the thirteenth '-', or a non-<acronym>XLFD</acronym> name.
Any <acronym>XLFD</acronym> fields may contain wild cards.
</para>
<para>
When creating an
-<function>XFontSet ,</function>
+<function>XFontSet</function>,
Xlib accepts from the client a list of one or more base font names
which select one or more font families.
They are combined with charset names obtained from the encoding of the locale
@@ -741,7 +741,7 @@ See <function>Bit gravity</function> and <function>Window gravity</function>.
<para>
<function>GrayScale </function>
can be viewed as a degenerate case of
-<function>PseudoColor , </function>
+<function>PseudoColor</function>,
in which the red, green, and blue values in any given colormap entry
are equal and thus, produce shades of gray.
The gray values can be changed dynamically.
@@ -1683,7 +1683,7 @@ always interprets timestamps from clients by treating half
of the timestamp space as being earlier in time than T
and half of the timestamp space as being later in time than T.
One timestamp value, represented by the constant
-<function>CurrentTime ,</function>
+<function>CurrentTime</function>,
is never generated by the server.
This value is reserved for use in requests to represent the current server time.
<!-- .KE -->