[PATCH 1/2] dix: Return BadWindow rather than BadMatch from dixLookupWindow

2012-01-04 Thread Christopher James Halse Rogers
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

Re: [PATCH 1/2] dix: Return BadWindow rather than BadMatch from dixLookupWindow

2012-01-05 Thread Daniel Stone
Hi, On 5 January 2012 01:22, Christopher James Halse Rogers 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 genera

Re: [PATCH 1/2] dix: Return BadWindow rather than BadMatch from dixLookupWindow

2012-01-06 Thread Adam Jackson
On 1/4/12 8:22 PM, Christopher James Halse Rogers 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