mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-29 21:46:40 +00:00
Add typed resource-lookup errors for non-core resource types.
Signed-off-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
e291c56182
commit
c38552d115
26 changed files with 169 additions and 137 deletions
|
|
@ -62,7 +62,7 @@ typedef struct _DamageExt {
|
|||
int rc = dixLookupResourceByType((pointer *)&(pDamageExt), rid, \
|
||||
DamageExtType, client, mode); \
|
||||
if (rc != Success) \
|
||||
return (rc == BadValue) ? DamageErrorBase + BadDamage : rc; \
|
||||
return rc; \
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Reference in a new issue