xserver-multidpi/xfixes
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
..
cursor.c Return an appropriately-typed error from dixLookupResourceByType. 2010-05-19 12:32:48 -07:00
Makefile.am Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
region.c Return an appropriately-typed error from dixLookupResourceByType. 2010-05-19 12:32:48 -07:00
saveset.c Eliminate boilerplate around client->noClientException. 2010-05-13 17:14:07 -07:00
select.c Set event sequence number in WriteEventsToClient instead of at callers. 2010-05-19 12:32:34 -07:00
xfixes.c Eliminate boilerplate around client->noClientException. 2010-05-13 17:14:07 -07:00
xfixes.h xfixes: Fix a couple of resource lookups 2009-04-14 14:24:40 -04:00
xfixesint.h Update Sun license notices to current X.Org standard form 2009-12-16 17:11:35 -08:00