diff options
Diffstat (limited to 'xorg-server/xfixes/region.c')
-rw-r--r-- | xorg-server/xfixes/region.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xorg-server/xfixes/region.c b/xorg-server/xfixes/region.c index 966eda051..1b4accb3e 100644 --- a/xorg-server/xfixes/region.c +++ b/xorg-server/xfixes/region.c @@ -63,8 +63,9 @@ XFixesRegionCopy (RegionPtr pRegion) Bool XFixesRegionInit (void) { - RegionResType = CreateNewResourceType(RegionResFree); - return TRUE; + RegionResType = CreateNewResourceType(RegionResFree, "XFixesRegion"); + + return (RegionResType != 0); } int |