• Keith Packard's avatar
    Rename region macros to eliminate screen argument · 2dc13892
    Keith Packard authored
    This is a combination of a huge mechanical patch and a few small
    fixups required to finish the job. They were reviewed separately, but
    because the server does not build without both pieces, I've merged
    them together at this time.
    The mechanical changes were performed by running the included
    'fix-region' script over the whole tree:
    $ git ls-files | grep -v '^fix-' | xargs ./fix-region
    And then, the white space errors in the resulting patch were fixed
    using the provided fix-patch-whitespace script.
    $ sh ./fix-patch-whitespace
    Thanks to Jamey Sharp for the mighty fine sed-generating sed script.
    The hand-done changes involve removing functions from dix/region.c
    that duplicate inline functions in include/regionstr.h, along with
    their declarations in regionstr.h, mi.h and mispans.h.
    Reviewed-by: Jamey Sharp's avatarJamey Sharp <jamey@minilop.net>
    Signed-off-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
xf86Rotate.c 14 KB