aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/Xext/mbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/Xext/mbuf.c')
-rw-r--r--xorg-server/Xext/mbuf.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/xorg-server/Xext/mbuf.c b/xorg-server/Xext/mbuf.c
index 1f2497463..b4c635799 100644
--- a/xorg-server/Xext/mbuf.c
+++ b/xorg-server/Xext/mbuf.c
@@ -467,10 +467,15 @@ MultibufferExtensionInit()
* create the resource types
*/
MultibufferDrawableResType =
- CreateNewResourceType(MultibufferDrawableDelete)|RC_DRAWABLE;
- MultibufferResType = CreateNewResourceType(MultibufferDelete);
- MultibuffersResType = CreateNewResourceType(MultibuffersDelete);
- OtherClientResType = CreateNewResourceType(OtherClientDelete);
+ CreateNewResourceType(MultibufferDrawableDelete, "MultibufferDrawable");
+ if (MultibufferDrawableResType)
+ MultibufferDrawableResType |= RC_DRAWABLE;
+ MultibufferResType = CreateNewResourceType(MultibufferDelete,
+ "MultibufferBuffer");
+ MultibuffersResType = CreateNewResourceType(MultibuffersDelete,
+ "MultibufferWindow");
+ OtherClientResType = CreateNewResourceType(OtherClientDelete,
+ "MultibufferOtherClient");
if (MultibufferDrawableResType && MultibufferResType &&
MultibuffersResType && OtherClientResType &&
(extEntry = AddExtension(MULTIBUFFER_PROTOCOL_NAME,