Hi,

On 5 January 2012 01:22, Christopher James Halse Rogers
<[email protected]> wrote:
> dixLookupWindow uses dixLookupDrawable internally, which returns
> BadMatch when the XID matches a non-Window drawable.  Users
> of dixLookupWindow don't care about this, just that it's not
> a valid Window.
>
> This is a generalised version of the fix for X.Org Bug 23562,
> where GetProperty was incorrectly returning BadMatch. Auditing other
> window requests, all that I checked would incorrectly return BadMatch
> in these circumstances.  An incomplete list of calls that could
> incorrectly return BadMatch is: ListProperties, SetSelectionOwner,
> {Destroy,Map,Unmap}{,Sub}Window.

This also fixes QueryTree.

Reviewed-by: Daniel Stone <[email protected]>
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to