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/dbe/dbe.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/dbe/dbe.c')
-rw-r--r-- | xorg-server/dbe/dbe.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/xorg-server/dbe/dbe.c b/xorg-server/dbe/dbe.c index a4f853d80..825d2e08f 100644 --- a/xorg-server/dbe/dbe.c +++ b/xorg-server/dbe/dbe.c @@ -1573,9 +1573,16 @@ DbeExtensionInit(void) /* Create the resource types. */ dbeDrawableResType = - CreateNewResourceType(DbeDrawableDelete) | RC_DRAWABLE; + CreateNewResourceType(DbeDrawableDelete, "dbeDrawable"); + if (!dbeDrawableResType) + return; + dbeDrawableResType |= RC_DRAWABLE; + dbeWindowPrivResType = - CreateNewResourceType(DbeWindowPrivDelete); + CreateNewResourceType(DbeWindowPrivDelete, "dbeWindow"); + if (!dbeWindowPrivResType) + return; + if (!dixRegisterPrivateOffset(dbeDrawableResType, offsetof(PixmapRec, devPrivates))) return; |