Summary: | XQueryTree returns BadWindow - needs documented in the XQueryTree man page | ||||||
---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Bryce Harrington <bryce> | ||||
Component: | Lib/Xlib | Assignee: | Xorg Project Team <xorg-team> | ||||
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> | ||||
Severity: | major | ||||||
Priority: | high | ||||||
Version: | 7.4 (2008.09) | ||||||
Hardware: | x86-64 (AMD64) | ||||||
OS: | Linux (All) | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Attachments: |
|
Description
Bryce Harrington
2009-08-19 12:22:23 UTC
On Wed, Aug 19, 2009 at 12:22:24 -0700, bugzilla-daemon@freedesktop.org wrote: > In analyzing the problem, it appears to be that XQueryTree gives a BadWindow > error, although it's unclear why it would do this (no mention of BadWindow in > XQueryTree's man page, and grepping through the source code didn't reveal the > code path that results in this being issued.) > BadWindow is the expected error if QueryTree is called on a nonexistent window, afaict. It's returned from dixLookupWindow(), called from ProcQueryTree() in the server. (In reply to comment #1) > On Wed, Aug 19, 2009 at 12:22:24 -0700, bugzilla-daemon@freedesktop.org wrote: > BadWindow is the expected error if QueryTree is called on a nonexistent > window, afaict. Okay, then this should be mentioned in the XQueryTree man page. We can consider this bug report solved by an update to the man page. > It's returned from dixLookupWindow(), called from ProcQueryTree() in the > server. Thanks Bryce Man page fix pushed as c2814a614dc4d9409bfa0f44c18bfd69ad7f7b85 |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.