aboutsummaryrefslogtreecommitdiff
path: root/libX11/man/XQueryTree.man
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/man/XQueryTree.man')
-rw-r--r--libX11/man/XQueryTree.man15
1 files changed, 12 insertions, 3 deletions
diff --git a/libX11/man/XQueryTree.man b/libX11/man/XQueryTree.man
index 81338d2aa..c57e53e92 100644
--- a/libX11/man/XQueryTree.man
+++ b/libX11/man/XQueryTree.man
@@ -176,11 +176,20 @@ The children are listed in current stacking order, from bottom-most
returns zero if it fails and nonzero if it succeeds.
To free a non-NULL children list when it is no longer needed, use
.ZN XFree .
+.LP
+.ZN XQueryTree
+can generate a
+.ZN BadWindow
+error.
.SH BUGS
This really should return a screen *, not a root window ID.
+.SH DIAGNOSTICS
+.TP 1i
+.ZN BadWindow
+A value for a Window argument does not name a defined Window.
.SH "SEE ALSO"
-XFree(3X11),
-XGetWindowAttributes(3X11),
-XQueryPointer(3X11)
+XFree(__libmansuffix__),
+XGetWindowAttributes(__libmansuffix__),
+XQueryPointer(__libmansuffix__)
.br
\fI\*(xL\fP