Re: [PATCH 3/4] dix: Simplify arguments to dixLookupDrawable

2011-03-07 Thread Soeren Sandmann
Adam Jackson a...@redhat.com writes: The mask argument was almost always 0 or (equivalently) M_ANY. Are they actually equivalent? If you pass 0, then the code uses M_DRAWABLE, which actually means drawable, which is not an InputOnly window. But if you pass M_ANY, then InputOnly windows are

[PATCH 3/4] dix: Simplify arguments to dixLookupDrawable

2011-03-04 Thread Adam Jackson
The mask argument was almost always 0 or (equivalently) M_ANY. Drop the mask, and fix up the scant few callers who needed anything stronger. Signed-off-by: Adam Jackson a...@redhat.com --- Xext/panoramiXprocs.c | 13 ++--- Xext/saver.c | 12