Remove workaround for a bug in the 1.6 X server.
authorSøren Sandmann Pedersen <ssp@redhat.com>
Fri, 29 Oct 2010 00:14:03 +0000 (20:14 -0400)
committerSøren Sandmann Pedersen <ssp@redhat.com>
Fri, 5 Nov 2010 01:03:38 +0000 (21:03 -0400)
commit9c19a85b0037d48fdd180a2c59ef05bdc4f46680
treeca936415f53254b2f49d2d9e7cd1ae405bab28b5
parent56748ea9a698daec8f445d2bebbbaed5515380af
Remove workaround for a bug in the 1.6 X server.

There used to be a bug in the X server where it would rely on
out-of-bounds accesses when it was asked to composite with a
window as the source. It would create a pixman image pointing
to some bogus position in memory, but then set a clip region
to the position where the actual bits were.

Due to a bug in old versions of pixman, where it would not clip
against the image bounds when a clip region was set, this would
actually work. So when the pixman bug was fixed, a workaround was
added to allow certain out-of-bound accesses.

However, the 1.6 X server is so old now that we can remove this
workaround. This does mean that if you update pixman to 0.22 or later,
you will need to use a 1.7 X server or later.
pixman/pixman-image.c
pixman/pixman-private.h
pixman/pixman.c
pixman/pixman.h
test/Makefile.am
test/window-test.c [deleted file]