Blame man/XGetWindowProperty.man

Packit 5bd3a9
.\" Copyright \(co 1985, 1986, 1987, 1988, 1989, 1990, 1991, 1994, 1996 X Consortium
Packit 5bd3a9
.\"
Packit 5bd3a9
.\" Permission is hereby granted, free of charge, to any person obtaining
Packit 5bd3a9
.\" a copy of this software and associated documentation files (the
Packit 5bd3a9
.\" "Software"), to deal in the Software without restriction, including
Packit 5bd3a9
.\" without limitation the rights to use, copy, modify, merge, publish,
Packit 5bd3a9
.\" distribute, sublicense, and/or sell copies of the Software, and to
Packit 5bd3a9
.\" permit persons to whom the Software is furnished to do so, subject to
Packit 5bd3a9
.\" the following conditions:
Packit 5bd3a9
.\"
Packit 5bd3a9
.\" The above copyright notice and this permission notice shall be included
Packit 5bd3a9
.\" in all copies or substantial portions of the Software.
Packit 5bd3a9
.\"
Packit 5bd3a9
.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
Packit 5bd3a9
.\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
Packit 5bd3a9
.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Packit 5bd3a9
.\" IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR
Packit 5bd3a9
.\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
Packit 5bd3a9
.\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
Packit 5bd3a9
.\" OTHER DEALINGS IN THE SOFTWARE.
Packit 5bd3a9
.\"
Packit 5bd3a9
.\" Except as contained in this notice, the name of the X Consortium shall
Packit 5bd3a9
.\" not be used in advertising or otherwise to promote the sale, use or
Packit 5bd3a9
.\" other dealings in this Software without prior written authorization
Packit 5bd3a9
.\" from the X Consortium.
Packit 5bd3a9
.\"
Packit 5bd3a9
.\" Copyright \(co 1985, 1986, 1987, 1988, 1989, 1990, 1991 by
Packit 5bd3a9
.\" Digital Equipment Corporation
Packit 5bd3a9
.\"
Packit 5bd3a9
.\" Portions Copyright \(co 1990, 1991 by
Packit 5bd3a9
.\" Tektronix, Inc.
Packit 5bd3a9
.\"
Packit 5bd3a9
.\" Permission to use, copy, modify and distribute this documentation for
Packit 5bd3a9
.\" any purpose and without fee is hereby granted, provided that the above
Packit 5bd3a9
.\" copyright notice appears in all copies and that both that copyright notice
Packit 5bd3a9
.\" and this permission notice appear in all copies, and that the names of
Packit 5bd3a9
.\" Digital and Tektronix not be used in in advertising or publicity pertaining
Packit 5bd3a9
.\" to this documentation without specific, written prior permission.
Packit 5bd3a9
.\" Digital and Tektronix makes no representations about the suitability
Packit 5bd3a9
.\" of this documentation for any purpose.
Packit 5bd3a9
.\" It is provided ``as is'' without express or implied warranty.
Packit 5bd3a9
.\" 
Packit 5bd3a9
.\"
Packit 5bd3a9
.ds xT X Toolkit Intrinsics \- C Language Interface
Packit 5bd3a9
.ds xW Athena X Widgets \- C Language X Toolkit Interface
Packit 5bd3a9
.ds xL Xlib \- C Language X Interface
Packit 5bd3a9
.ds xC Inter-Client Communication Conventions Manual
Packit 5bd3a9
.na
Packit 5bd3a9
.de Ds
Packit 5bd3a9
.nf
Packit 5bd3a9
.\\$1D \\$2 \\$1
Packit 5bd3a9
.ft CW
Packit 5bd3a9
.\".ps \\n(PS
Packit 5bd3a9
.\".if \\n(VS>=40 .vs \\n(VSu
Packit 5bd3a9
.\".if \\n(VS<=39 .vs \\n(VSp
Packit 5bd3a9
..
Packit 5bd3a9
.de De
Packit 5bd3a9
.ce 0
Packit 5bd3a9
.if \\n(BD .DF
Packit 5bd3a9
.nr BD 0
Packit 5bd3a9
.in \\n(OIu
Packit 5bd3a9
.if \\n(TM .ls 2
Packit 5bd3a9
.sp \\n(DDu
Packit 5bd3a9
.fi
Packit 5bd3a9
..
Packit 5bd3a9
.de IN		\" send an index entry to the stderr
Packit 5bd3a9
..
Packit 5bd3a9
.de Pn
Packit 5bd3a9
.ie t \\$1\fB\^\\$2\^\fR\\$3
Packit 5bd3a9
.el \\$1\fI\^\\$2\^\fP\\$3
Packit 5bd3a9
..
Packit 5bd3a9
.de ZN
Packit 5bd3a9
.ie t \fB\^\\$1\^\fR\\$2
Packit 5bd3a9
.el \fI\^\\$1\^\fP\\$2
Packit 5bd3a9
..
Packit 5bd3a9
.de hN
Packit 5bd3a9
.ie t <\fB\\$1\fR>\\$2
Packit 5bd3a9
.el <\fI\\$1\fP>\\$2
Packit 5bd3a9
..
Packit 5bd3a9
.ny0
Packit 5bd3a9
.TH XGetWindowProperty __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
Packit 5bd3a9
.SH NAME
Packit 5bd3a9
XGetWindowProperty, XListProperties, XChangeProperty, XRotateWindowProperties, XDeleteProperty \- obtain and change window properties
Packit 5bd3a9
.SH SYNTAX
Packit 5bd3a9
.HP
Packit 5bd3a9
int XGetWindowProperty\^(\^Display *\fIdisplay\fP\^, Window \fIw\fP\^, Atom
Packit 5bd3a9
\fIproperty\fP\^, long \fIlong_offset\fP\^, long \fIlong_length\fP\^, Bool
Packit 5bd3a9
\fIdelete\fP\^, Atom \fIreq_type\fP\^, Atom *\fIactual_type_return\fP\^, int
Packit 5bd3a9
*\fIactual_format_return\fP\^, unsigned long *\fInitems_return\fP\^, unsigned
Packit 5bd3a9
long *\fIbytes_after_return\fP\^, unsigned char **\fIprop_return\fP\^); 
Packit 5bd3a9
.HP
Packit 5bd3a9
Atom *XListProperties\^(\^Display *\fIdisplay\fP\^, Window \fIw\fP\^, int
Packit 5bd3a9
*\fInum_prop_return\fP\^); 
Packit 5bd3a9
.HP
Packit 5bd3a9
int XChangeProperty\^(\^Display *\fIdisplay\fP\^, Window \fIw\fP\^, Atom
Packit 5bd3a9
\fIproperty\fP\^, Atom \fItype\fP\^, int \fIformat\fP\^, int \fImode\fP\^,
Packit 5bd3a9
unsigned char *\fIdata\fP\^, int \fInelements\fP\^); 
Packit 5bd3a9
.HP
Packit 5bd3a9
int XRotateWindowProperties\^(\^Display *\fIdisplay\fP\^, Window \fIw\fP\^,
Packit 5bd3a9
Atom \fIproperties\fP\^[]\^, int \fInum_prop\fP\^, int \fInpositions\fP\^); 
Packit 5bd3a9
.HP
Packit 5bd3a9
int XDeleteProperty\^(\^Display *\fIdisplay\fP\^, Window \fIw\fP\^, Atom
Packit 5bd3a9
\fIproperty\fP\^); 
Packit 5bd3a9
.SH ARGUMENTS
Packit 5bd3a9
.IP \fIactual_format_return\fP 1i
Packit 5bd3a9
Returns the actual format of the property.
Packit 5bd3a9
.IP \fIactual_type_return\fP 1i
Packit 5bd3a9
Returns the atom identifier  that defines the actual type of the property.
Packit 5bd3a9
.IP \fIbytes_after_return\fP 1i
Packit 5bd3a9
Returns the number of bytes remaining to be read in the property if 
Packit 5bd3a9
a partial read was performed.
Packit 5bd3a9
.IP \fIdata\fP 1i
Packit 5bd3a9
Specifies the property data.
Packit 5bd3a9
.IP \fIdelete\fP 1i
Packit 5bd3a9
Specifies a Boolean value that determines whether the property is deleted.
Packit 5bd3a9
.IP \fIdisplay\fP 1i
Packit 5bd3a9
Specifies the connection to the X server.
Packit 5bd3a9
.IP \fIformat\fP 1i
Packit 5bd3a9
Specifies whether the data should be viewed as a list
Packit 5bd3a9
of 8-bit, 16-bit, or 32-bit quantities.
Packit 5bd3a9
Possible values are 8, 16, and 32.
Packit 5bd3a9
This information allows the X server to correctly perform
Packit 5bd3a9
byte-swap operations as necessary.
Packit 5bd3a9
If the format is 16-bit or 32-bit,
Packit 5bd3a9
you must explicitly cast your data pointer to an (unsigned char *) in the call
Packit 5bd3a9
to 
Packit 5bd3a9
.ZN XChangeProperty .
Packit 5bd3a9
.IP \fIlong_length\fP 1i
Packit 5bd3a9
Specifies the length in 32-bit multiples of the data to be retrieved.
Packit 5bd3a9
.IP \fIlong_offset\fP 1i
Packit 5bd3a9
Specifies the offset in the specified property (in 32-bit quantities) 
Packit 5bd3a9
where the data is to be retrieved.
Packit 5bd3a9
.\" Changed name of this file to prop_mode.a on 1/13/87
Packit 5bd3a9
.IP \fImode\fP 1i
Packit 5bd3a9
Specifies the mode of the operation.
Packit 5bd3a9
You can pass
Packit 5bd3a9
.ZN PropModeReplace ,
Packit 5bd3a9
.ZN PropModePrepend ,
Packit 5bd3a9
or
Packit 5bd3a9
.ZN PropModeAppend .
Packit 5bd3a9
.IP \fInelements\fP 1i
Packit 5bd3a9
Specifies the number of elements of the specified data format.
Packit 5bd3a9
.IP \fInitems_return\fP 1i
Packit 5bd3a9
Returns the actual number of 8-bit, 16-bit, or 32-bit items 
Packit 5bd3a9
stored in the prop_return data.
Packit 5bd3a9
.IP \fInum_prop\fP 1i
Packit 5bd3a9
Specifies the length of the properties array.
Packit 5bd3a9
.IP \fInum_prop_return\fP 1i
Packit 5bd3a9
Returns the length of the properties array.
Packit 5bd3a9
.IP \fInpositions\fP 1i
Packit 5bd3a9
Specifies the rotation amount.
Packit 5bd3a9
.IP \fIprop_return\fP 1i
Packit 5bd3a9
Returns the data in the specified format.
Packit 5bd3a9
If the returned format is 8, the returned data is represented as a
Packit 5bd3a9
char array. If the returned format is 16, the returned data is
Packit 5bd3a9
represented as a array of short int type and should be cast to that
Packit 5bd3a9
type to obtain the elements. If the returned format is 32, the
Packit 5bd3a9
property data will be stored as an array of longs (which in a 64-bit
Packit 5bd3a9
application will be 64-bit values that are padded in the upper 4 bytes).
Packit 5bd3a9
.IP \fIproperty\fP 1i
Packit 5bd3a9
Specifies the property name.
Packit 5bd3a9
.IP \fIproperties\fP 1i
Packit 5bd3a9
Specifies the array of properties that are to be rotated.
Packit 5bd3a9
.IP \fIreq_type\fP 1i
Packit 5bd3a9
Specifies the atom identifier associated with the property type or
Packit 5bd3a9
.ZN AnyPropertyType .
Packit 5bd3a9
.IP \fItype\fP 1i
Packit 5bd3a9
Specifies the type of the property.
Packit 5bd3a9
The X server does not interpret the type but simply
Packit 5bd3a9
passes it back to an application that later calls 
Packit 5bd3a9
.ZN XGetWindowProperty .
Packit 5bd3a9
.ds Wi whose property you want to obtain, change, rotate or delete
Packit 5bd3a9
.IP \fIw\fP 1i
Packit 5bd3a9
Specifies the window \*(Wi.
Packit 5bd3a9
.SH DESCRIPTION
Packit 5bd3a9
The
Packit 5bd3a9
.ZN XGetWindowProperty
Packit 5bd3a9
function returns the actual type of the property; the actual format of the property;
Packit 5bd3a9
the number of 8-bit, 16-bit, or 32-bit items transferred; the number of bytes remaining
Packit 5bd3a9
to be read in the property; and a pointer to the data actually returned.
Packit 5bd3a9
.ZN XGetWindowProperty
Packit 5bd3a9
sets the return arguments as follows:
Packit 5bd3a9
.IP \(bu 5
Packit 5bd3a9
If the specified property does not exist for the specified window,
Packit 5bd3a9
.ZN XGetWindowProperty 
Packit 5bd3a9
returns 
Packit 5bd3a9
.ZN None
Packit 5bd3a9
to actual_type_return and the value zero to 
Packit 5bd3a9
actual_format_return and bytes_after_return.
Packit 5bd3a9
The nitems_return argument is empty.
Packit 5bd3a9
In this case, the delete argument is ignored.
Packit 5bd3a9
.IP \(bu 5
Packit 5bd3a9
If the specified property exists 
Packit 5bd3a9
but its type does not match the specified type,
Packit 5bd3a9
.ZN XGetWindowProperty 
Packit 5bd3a9
returns the actual property type to actual_type_return, 
Packit 5bd3a9
the actual property format (never zero) to actual_format_return, 
Packit 5bd3a9
and the property length in bytes
Packit 5bd3a9
(even if the actual_format_return is 16 or 32) 
Packit 5bd3a9
to bytes_after_return.
Packit 5bd3a9
It also ignores the delete argument.
Packit 5bd3a9
The nitems_return argument is empty.
Packit 5bd3a9
.IP \(bu 5
Packit 5bd3a9
If the specified property exists and either you assign 
Packit 5bd3a9
.ZN AnyPropertyType 
Packit 5bd3a9
to the req_type argument or the specified type matches the actual property type,
Packit 5bd3a9
.ZN XGetWindowProperty 
Packit 5bd3a9
returns the actual property type to actual_type_return and the actual
Packit 5bd3a9
property format (never zero) to actual_format_return. 
Packit 5bd3a9
It also returns a value to bytes_after_return and nitems_return, by 
Packit 5bd3a9
defining the following
Packit 5bd3a9
values:
Packit 5bd3a9
.IP
Packit 5bd3a9
.nf
Packit 5bd3a9
	N = actual length of the stored property in bytes
Packit 5bd3a9
	     (even if the format is 16 or 32)
Packit 5bd3a9
	I = 4 * long_offset
Packit 5bd3a9
	T = N - I
Packit 5bd3a9
	L = MINIMUM(T, 4 * long_length)
Packit 5bd3a9
	A = N - (I + L)
Packit 5bd3a9
.fi
Packit 5bd3a9
.IP
Packit 5bd3a9
The returned value starts at byte index I in the property (indexing
Packit 5bd3a9
from zero), and its length in bytes is L.
Packit 5bd3a9
If the value for long_offset causes L to be negative,
Packit 5bd3a9
a
Packit 5bd3a9
.ZN BadValue
Packit 5bd3a9
error results. 
Packit 5bd3a9
The value of bytes_after_return is A, 
Packit 5bd3a9
giving the number of trailing unread bytes in the stored property.
Packit 5bd3a9
.LP
Packit 5bd3a9
If the returned format is 8, the returned data is represented as a
Packit 5bd3a9
.ZN char
Packit 5bd3a9
array.
Packit 5bd3a9
If the returned format is 16, the returned data is represented as a
Packit 5bd3a9
.ZN short
Packit 5bd3a9
array and should be cast to that type to obtain the elements.
Packit 5bd3a9
If the returned format is 32, the returned data is represented as a
Packit 5bd3a9
.ZN long
Packit 5bd3a9
array and should be cast to that type to obtain the elements.
Packit 5bd3a9
.LP
Packit 5bd3a9
.ZN XGetWindowProperty
Packit 5bd3a9
always allocates one extra byte in prop_return 
Packit 5bd3a9
(even if the property is zero length) 
Packit 5bd3a9
and sets it to zero so that simple properties consisting of characters
Packit 5bd3a9
do not have to be copied into yet another string before use.
Packit 5bd3a9
.LP
Packit 5bd3a9
If delete is 
Packit 5bd3a9
.ZN True 
Packit 5bd3a9
and bytes_after_return is zero, 
Packit 5bd3a9
.ZN XGetWindowProperty
Packit 5bd3a9
deletes the property 
Packit 5bd3a9
from the window and generates a 
Packit 5bd3a9
.ZN PropertyNotify 
Packit 5bd3a9
event on the window.
Packit 5bd3a9
.LP
Packit 5bd3a9
The function returns
Packit 5bd3a9
.ZN Success
Packit 5bd3a9
if it executes successfully.
Packit 5bd3a9
To free the resulting data,
Packit 5bd3a9
use
Packit 5bd3a9
.ZN XFree .
Packit 5bd3a9
.LP
Packit 5bd3a9
.ZN XGetWindowProperty
Packit 5bd3a9
can generate
Packit 5bd3a9
.ZN BadAtom ,
Packit 5bd3a9
.ZN BadValue ,
Packit 5bd3a9
and
Packit 5bd3a9
.ZN BadWindow 
Packit 5bd3a9
errors.
Packit 5bd3a9
.LP
Packit 5bd3a9
The
Packit 5bd3a9
.ZN XListProperties
Packit 5bd3a9
function returns a pointer to an array of atom properties that are defined for 
Packit 5bd3a9
the specified window or returns NULL if no properties were found.
Packit 5bd3a9
To free the memory allocated by this function, use
Packit 5bd3a9
.ZN XFree .
Packit 5bd3a9
.LP
Packit 5bd3a9
.ZN XListProperties
Packit 5bd3a9
can generate a
Packit 5bd3a9
.ZN BadWindow 
Packit 5bd3a9
error.
Packit 5bd3a9
.LP
Packit 5bd3a9
The
Packit 5bd3a9
.ZN XChangeProperty
Packit 5bd3a9
function alters the property for the specified window and
Packit 5bd3a9
causes the X server to generate a
Packit 5bd3a9
.ZN PropertyNotify
Packit 5bd3a9
event on that window.
Packit 5bd3a9
.ZN XChangeProperty
Packit 5bd3a9
performs the following:
Packit 5bd3a9
.IP \(bu 5
Packit 5bd3a9
If mode is
Packit 5bd3a9
.ZN PropModeReplace ,
Packit 5bd3a9
.ZN XChangeProperty
Packit 5bd3a9
discards the previous property value and stores the new data.
Packit 5bd3a9
.IP \(bu 5
Packit 5bd3a9
If mode is
Packit 5bd3a9
.ZN PropModePrepend
Packit 5bd3a9
or
Packit 5bd3a9
.ZN PropModeAppend ,
Packit 5bd3a9
.ZN XChangeProperty
Packit 5bd3a9
inserts the specified data before the beginning of the existing data
Packit 5bd3a9
or onto the end of the existing data, respectively.
Packit 5bd3a9
The type and format must match the existing property value,
Packit 5bd3a9
or a
Packit 5bd3a9
.ZN BadMatch
Packit 5bd3a9
error results.
Packit 5bd3a9
If the property is undefined, 
Packit 5bd3a9
it is treated as defined with the correct type and
Packit 5bd3a9
format with zero-length data.
Packit 5bd3a9
.LP
Packit 5bd3a9
If the specified format is 8, the property data must be a
Packit 5bd3a9
.ZN char
Packit 5bd3a9
array.
Packit 5bd3a9
If the specified format is 16, the property data must be a
Packit 5bd3a9
.ZN short
Packit 5bd3a9
array.
Packit 5bd3a9
If the specified format is 32, the property data must be a
Packit 5bd3a9
.ZN long
Packit 5bd3a9
array.
Packit 5bd3a9
.LP
Packit 5bd3a9
The lifetime of a property is not tied to the storing client.
Packit 5bd3a9
Properties remain until explicitly deleted, until the window is destroyed,
Packit 5bd3a9
or until the server resets.
Packit 5bd3a9
For a discussion of what happens when the connection to the X server is closed,
Packit 5bd3a9
see section 2.6. 
Packit 5bd3a9
The maximum size of a property is server dependent and can vary dynamically
Packit 5bd3a9
depending on the amount of memory the server has available.
Packit 5bd3a9
(If there is insufficient space, a
Packit 5bd3a9
.ZN BadAlloc
Packit 5bd3a9
error results.)
Packit 5bd3a9
.LP
Packit 5bd3a9
.ZN XChangeProperty
Packit 5bd3a9
can generate
Packit 5bd3a9
.ZN BadAlloc ,
Packit 5bd3a9
.ZN BadAtom ,
Packit 5bd3a9
.ZN BadMatch ,
Packit 5bd3a9
.ZN BadValue ,
Packit 5bd3a9
and
Packit 5bd3a9
.ZN BadWindow 
Packit 5bd3a9
errors.
Packit 5bd3a9
.LP
Packit 5bd3a9
The
Packit 5bd3a9
.ZN XRotateWindowProperties
Packit 5bd3a9
function allows you to rotate properties on a window and causes
Packit 5bd3a9
the X server to generate
Packit 5bd3a9
.ZN PropertyNotify
Packit 5bd3a9
events.
Packit 5bd3a9
If the property names in the properties array are viewed as being numbered 
Packit 5bd3a9
starting from zero and if there are num_prop property names in the list,
Packit 5bd3a9
then the value associated with property name I becomes the value associated 
Packit 5bd3a9
with property name (I + npositions) mod N for all I from zero to N \- 1.
Packit 5bd3a9
The effect is to rotate the states by npositions places around the virtual ring
Packit 5bd3a9
of property names (right for positive npositions, 
Packit 5bd3a9
left for negative npositions).
Packit 5bd3a9
If npositions mod N is nonzero,
Packit 5bd3a9
the X server generates a
Packit 5bd3a9
.ZN PropertyNotify
Packit 5bd3a9
event for each property in the order that they are listed in the array.
Packit 5bd3a9
If an atom occurs more than once in the list or no property with that 
Packit 5bd3a9
name is defined for the window,
Packit 5bd3a9
a 
Packit 5bd3a9
.ZN BadMatch 
Packit 5bd3a9
error results.
Packit 5bd3a9
If a 
Packit 5bd3a9
.ZN BadAtom 
Packit 5bd3a9
or 
Packit 5bd3a9
.ZN BadMatch 
Packit 5bd3a9
error results,
Packit 5bd3a9
no properties are changed.
Packit 5bd3a9
.LP
Packit 5bd3a9
.ZN XRotateWindowProperties
Packit 5bd3a9
can generate
Packit 5bd3a9
.ZN BadAtom ,
Packit 5bd3a9
.ZN BadMatch ,
Packit 5bd3a9
and
Packit 5bd3a9
.ZN BadWindow 
Packit 5bd3a9
errors.
Packit 5bd3a9
.LP
Packit 5bd3a9
The
Packit 5bd3a9
.ZN XDeleteProperty
Packit 5bd3a9
function deletes the specified property only if the
Packit 5bd3a9
property was defined on the specified window
Packit 5bd3a9
and causes the X server to generate a
Packit 5bd3a9
.ZN PropertyNotify
Packit 5bd3a9
event on the window unless the property does not exist.
Packit 5bd3a9
.LP
Packit 5bd3a9
.ZN XDeleteProperty
Packit 5bd3a9
can generate
Packit 5bd3a9
.ZN BadAtom
Packit 5bd3a9
and
Packit 5bd3a9
.ZN BadWindow 
Packit 5bd3a9
errors.
Packit 5bd3a9
.SH DIAGNOSTICS
Packit 5bd3a9
.TP 1i
Packit 5bd3a9
.ZN BadAlloc
Packit 5bd3a9
The server failed to allocate the requested resource or server memory.
Packit 5bd3a9
.TP 1i
Packit 5bd3a9
.ZN BadAtom
Packit 5bd3a9
A value for an Atom argument does not name a defined Atom.
Packit 5bd3a9
.TP 1i
Packit 5bd3a9
.ZN BadValue
Packit 5bd3a9
Some numeric value falls outside the range of values accepted by the request.
Packit 5bd3a9
Unless a specific range is specified for an argument, the full range defined
Packit 5bd3a9
by the argument's type is accepted.  Any argument defined as a set of
Packit 5bd3a9
alternatives can generate this error.
Packit 5bd3a9
.TP 1i
Packit 5bd3a9
.ZN BadWindow
Packit 5bd3a9
A value for a Window argument does not name a defined Window.
Packit 5bd3a9
.SH "SEE ALSO"
Packit 5bd3a9
XFree(__libmansuffix__),
Packit 5bd3a9
XInternAtom(__libmansuffix__)
Packit 5bd3a9
.br
Packit 5bd3a9
\fI\*(xL\fP