[PATCH 03/30] dix: Stop setting pSprite for nothing.
Cyril Brulebois
kibi at debian.org
Fri May 20 08:35:13 PDT 2011
Signed-off-by: Cyril Brulebois <kibi at debian.org>
---
dix/events.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/dix/events.c b/dix/events.c
index 14f6f90..649741b 100644
--- a/dix/events.c
+++ b/dix/events.c
@@ -679,9 +679,7 @@ ConfineToShape(DeviceIntPtr pDev, RegionPtr shape, int *px, int *py)
BoxRec box;
int x = *px, y = *py;
int incx = 1, incy = 1;
- SpritePtr pSprite;
- pSprite = pDev->spriteInfo->sprite;
if (RegionContainsPoint(shape, x, y, &box))
return;
box = *RegionExtents(shape);
--
1.7.5.1
More information about the xorg-devel
mailing list