[PATCH 08/30] mi: Stop setting x and y for nothing.

Cyril Brulebois kibi at debian.org
Fri May 20 08:35:18 PDT 2011


Signed-off-by: Cyril Brulebois <kibi at debian.org>
---
 mi/misprite.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/mi/misprite.c b/mi/misprite.c
index 1cfcdf6..66291f0 100644
--- a/mi/misprite.c
+++ b/mi/misprite.c
@@ -937,7 +937,6 @@ static void
 miSpriteSaveUnderCursor(DeviceIntPtr pDev, ScreenPtr pScreen)
 {
     miSpriteScreenPtr   pScreenPriv;
-    int			x, y;
     CursorPtr		pCursor;
     miCursorInfoPtr     pCursorInfo;
 
@@ -951,8 +950,6 @@ miSpriteSaveUnderCursor(DeviceIntPtr pDev, ScreenPtr pScreen)
     miSpriteComputeSaved (pDev, pScreen);
     pCursor = pCursorInfo->pCursor;
 
-    x = pCursorInfo->x - (int)pCursor->bits->xhot;
-    y = pCursorInfo->y - (int)pCursor->bits->yhot;
     miSpriteDisableDamage(pScreen, pScreenPriv);
 
     miDCSaveUnderCursor(pDev,
-- 
1.7.5.1



More information about the xorg-devel mailing list