diff options
Diffstat (limited to 'Xext/shape.c')
-rw-r--r-- | Xext/shape.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Xext/shape.c b/Xext/shape.c index 700fe76d1..247f21bee 100644 --- a/Xext/shape.c +++ b/Xext/shape.c @@ -40,6 +40,7 @@ in this Software without prior written authorization from The Open Group. #include "extnsionst.h" #include "dixstruct.h" #include "resource.h" +#include "registry.h" #include "opaque.h" #include <X11/extensions/shapeproto.h> #include "regionstr.h" @@ -134,6 +135,8 @@ ShapeExtensionInit(void) ProcShapeDispatch, SProcShapeDispatch, NULL, StandardMinorOpcode))) { + RegisterResourceName(ClientType, "ShapeClient"); + RegisterResourceName(ShapeEventType, "ShapeEvent"); ShapeEventBase = extEntry->eventBase; EventSwapVector[ShapeEventBase] = (EventSwapPtr) SShapeNotifyEvent; } |