mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
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>
This commit is contained in:
committed by
Keith Packard
parent
a11c58fa0c
commit
895f40792a
@@ -54,7 +54,6 @@
|
||||
#include "dbestruct.h"
|
||||
#include "midbe.h"
|
||||
#include "xace.h"
|
||||
#include "registry.h"
|
||||
|
||||
/* GLOBALS */
|
||||
|
||||
@@ -1574,17 +1573,15 @@ DbeExtensionInit(void)
|
||||
|
||||
/* Create the resource types. */
|
||||
dbeDrawableResType =
|
||||
CreateNewResourceType(DbeDrawableDelete);
|
||||
CreateNewResourceType(DbeDrawableDelete, "dbeDrawable");
|
||||
if (!dbeDrawableResType)
|
||||
return;
|
||||
dbeDrawableResType |= RC_DRAWABLE;
|
||||
RegisterResourceName(dbeDrawableResType, "dbeDrawable");
|
||||
|
||||
dbeWindowPrivResType =
|
||||
CreateNewResourceType(DbeWindowPrivDelete);
|
||||
CreateNewResourceType(DbeWindowPrivDelete, "dbeWindow");
|
||||
if (!dbeWindowPrivResType)
|
||||
return;
|
||||
RegisterResourceName(dbeWindowPrivResType, "dbeWindow");
|
||||
|
||||
if (!dixRegisterPrivateOffset(dbeDrawableResType,
|
||||
offsetof(PixmapRec, devPrivates)))
|
||||
|
||||
Reference in New Issue
Block a user