summaryrefslogtreecommitdiff
path: root/composite
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-12-02 17:43:01 -0800
committerKeith Packard <keithp@keithp.com>2009-12-18 17:44:12 -0800
commit895f40792a14d8b88923bf3b428d31ae3bb31e46 (patch)
tree3f53eecbf3ffea314ee657a0254925fe65510605 /composite
parenta11c58fa0c5809f918b36b84be53385cb2d8ea59 (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 'composite')
-rw-r--r--composite/compext.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/composite/compext.c b/composite/compext.c
index 74f0309da..17c4bae1e 100644
--- a/composite/compext.c
+++ b/composite/compext.c
@@ -47,7 +47,6 @@
#include "compint.h"
#include "xace.h"
-#include "registry.h"
#include "protocol-versions.h"
static CARD8 CompositeReqCode;
@@ -547,22 +546,20 @@ CompositeExtensionInit (void)
return;
#endif
- CompositeClientWindowType = CreateNewResourceType (FreeCompositeClientWindow);
+ CompositeClientWindowType = CreateNewResourceType
+ (FreeCompositeClientWindow, "CompositeClientWindow");
if (!CompositeClientWindowType)
return;
- RegisterResourceName(CompositeClientWindowType, "CompositeClientWindow");
- CompositeClientSubwindowsType = CreateNewResourceType (FreeCompositeClientSubwindows);
+ CompositeClientSubwindowsType = CreateNewResourceType
+ (FreeCompositeClientSubwindows, "CompositeClientSubwindows");
if (!CompositeClientSubwindowsType)
return;
- RegisterResourceName(CompositeClientSubwindowsType,
- "CompositeClientSubwindows");
- CompositeClientOverlayType = CreateNewResourceType (FreeCompositeClientOverlay);
+ CompositeClientOverlayType = CreateNewResourceType
+ (FreeCompositeClientOverlay, "CompositeClientOverlay");
if (!CompositeClientOverlayType)
return;
- RegisterResourceName(CompositeClientOverlayType,
- "CompositeClientOverlay");
if (!dixRequestPrivate(CompositeClientPrivateKey,
sizeof(CompositeClientRec)))