• Mike Gabriel's avatar
    Change region implementation names to eliminate the 'mi' prefix · b0e69fe3
    Mike Gabriel authored
    This prepares the file to be moved from mi to dix. This patch
    was done mechanically with the included scripts 'fix-miregion' run over
    the entire X server and 'fix-miregion-private' run over
    include/regionstr.h and mi/miregion.c.
    
    v1: Keith Packard <keithp@keithp.com>
    v2: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> (backported to nx-libs)
    b0e69fe3
fix-miregion-private 471 Bytes
#!/bin/sh
sed -i \
-e 's/miEmptyBox\b/RegionEmptyBox/g' \
-e 's/miEmptyData\b/RegionEmptyData/g' \
-e 's/miBrokenData\b/RegionBrokenData/g' \
-e 's/miBrokenRegion\b/RegionBrokenRegion/g' \
-e 's/miCoalesce\b/RegionCoalesce/g' \
-e 's/miAppendNonO\b/RegionAppendNonO/g' \
-e 's/miRegionOp\b/RegionOp/g' \
-e 's/miSetExtents\b/RegionSetExtents/g' \
-e 's/miIntersectO\b/RegionIntersectO/g' \
-e 's/miUnionO\b/RegionUnionO/g' \
-e 's/miSubtractO\b/RegionSubtractO/g' \
"$@"