diff options
author | marha <marha@users.sourceforge.net> | 2009-12-20 22:23:03 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2009-12-20 22:23:03 +0000 |
commit | c438f190eedc71ee8dd14e14fec660e98d3dc0bf (patch) | |
tree | 9f128ed0356e62d09b44a720ac20bdc60566b66e /xorg-server/Xext/mbuf.c | |
parent | d842f9ef1c88a7aad04a78613548fc0f0638ac48 (diff) | |
parent | d8432fdd4f13e9f9d1d44f5482faeb56562661a9 (diff) | |
download | vcxsrv-c438f190eedc71ee8dd14e14fec660e98d3dc0bf.tar.gz vcxsrv-c438f190eedc71ee8dd14e14fec660e98d3dc0bf.tar.bz2 vcxsrv-c438f190eedc71ee8dd14e14fec660e98d3dc0bf.zip |
svn merge ^/branches/released
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..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, |