xserver/hw
Jamey Sharp e291c56182 Return an appropriately-typed error from dixLookupResourceByType.
Rather than always returning BadValue, associate an error status like
BadWindow with a resource type like RT_WINDOW, and return the
appropriate one for the requested type.

This patch only touches the core protocol resource types. Others still
return BadValue and need to be mapped appropriately.

dixLookupResourceByType can now return BadImplementation, if the caller
asked for a resource type that has not been allocated in the server.

Signed-off-by: Jamey Sharp <jamey@minilop.net>
Reviewed-by: Adam Jackson <ajax@redhat.com>
2010-05-19 12:32:48 -07:00
..
dmx scrnintstr.h: removed unused PaintWindow function pointers. 2010-05-14 08:27:10 +03:00
kdrive Eliminate boilerplate around client->noClientException. 2010-05-13 17:14:07 -07:00
vfb Quit using clientErrorValue in dix/colormap.c. 2010-05-13 17:14:07 -07:00
xfree86 Return an appropriately-typed error from dixLookupResourceByType. 2010-05-19 12:32:48 -07:00
xnest mi: removed unused PointerNonInterestBox functions. 2010-05-14 07:50:49 +03:00
xquartz Set event sequence number in WriteEventsToClient instead of at callers. 2010-05-19 12:32:34 -07:00
xwin Set event sequence number in WriteEventsToClient instead of at callers. 2010-05-19 12:32:34 -07:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00