diff options
author | marha <marha@users.sourceforge.net> | 2009-12-20 21:08:15 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2009-12-20 21:08:15 +0000 |
commit | d8432fdd4f13e9f9d1d44f5482faeb56562661a9 (patch) | |
tree | 10b8d598d3c821cdb25569d4bd750b7ad8cae269 /xorg-server/Xext/mbuf.c | |
parent | d34fc70fab4607f70184206a592397c97c3e478e (diff) | |
download | vcxsrv-d8432fdd4f13e9f9d1d44f5482faeb56562661a9.tar.gz vcxsrv-d8432fdd4f13e9f9d1d44f5482faeb56562661a9.tar.bz2 vcxsrv-d8432fdd4f13e9f9d1d44f5482faeb56562661a9.zip |
Switched to xorg-server-1.7.99.2
Diffstat (limited to 'xorg-server/Xext/mbuf.c')
-rw-r--r-- | xorg-server/Xext/mbuf.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/xorg-server/Xext/mbuf.c b/xorg-server/Xext/mbuf.c index 1f2497463..aacb9cfde 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, |