Re: [PATCH 4/4] dix: Make InputOnly window checking more consistent

2011-03-07 Thread Ville Syrjälä
On Fri, Mar 04, 2011 at 04:05:21PM -0500, ext Adam Jackson wrote: > Remove the UNDRAWABLE_WINDOW macro (which was just needlessly cute) and > always check ->class to decide if a window is InputOnly or InputOutput. > ->type is now always either window or pixmap. I wonder how many places assume that

[PATCH 4/4] dix: Make InputOnly window checking more consistent

2011-03-04 Thread Adam Jackson
Remove the UNDRAWABLE_WINDOW macro (which was just needlessly cute) and always check ->class to decide if a window is InputOnly or InputOutput. ->type is now always either window or pixmap. Signed-off-by: Adam Jackson --- dix/dispatch.c |3 ++- dix/window.c |2 -- include/pixmap.h