diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-12-02 17:43:01 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-12-18 17:44:12 -0800 |
commit | 895f40792a14d8b88923bf3b428d31ae3bb31e46 (patch) | |
tree | 3f53eecbf3ffea314ee657a0254925fe65510605 /Xext/sleepuntil.c | |
parent | a11c58fa0c5809f918b36b84be53385cb2d8ea59 (diff) |
Add type name argument to CreateNewResourceType
Convert all calls of CreateNewResourceType to pass name argument
Breaks DIX ABI.
ABI versions bumped:
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'Xext/sleepuntil.c')
-rw-r--r-- | Xext/sleepuntil.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Xext/sleepuntil.c b/Xext/sleepuntil.c index 6b5964ec7..075f428d4 100644 --- a/Xext/sleepuntil.c +++ b/Xext/sleepuntil.c @@ -39,7 +39,6 @@ in this Software without prior written authorization from The Open Group. #include "dixstruct.h" #include "pixmapstr.h" #include "scrnintstr.h" -#include "registry.h" typedef struct _Sertafied { struct _Sertafied *next; @@ -88,10 +87,10 @@ ClientSleepUntil (ClientPtr client, if (SertafiedGeneration != serverGeneration) { - SertafiedResType = CreateNewResourceType (SertafiedDelete); + SertafiedResType = CreateNewResourceType (SertafiedDelete, + "ClientSleep"); if (!SertafiedResType) return FALSE; - RegisterResourceName(SertafiedResType, "ClientSleep"); SertafiedGeneration = serverGeneration; BlockHandlerRegistered = FALSE; } |