man: XQueryTree may return BadWindow. (#23416)

X.Org Bug 23416 <http://bugs.freedesktop.org/show_bug.cgi?id=XXX>

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2009-09-03 12:05:25 +10:00
parent dbe98d456c
commit c2814a614d

View file

@ -176,8 +176,17 @@ 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(__libmansuffix__),
XGetWindowAttributes(__libmansuffix__),