[PATCH xserver 4/4] animcur: Stop tracking the last display time in the SpriteInfoRec
Adam Jackson
ajax at redhat.com
Mon Nov 6 20:19:54 UTC 2017
Signed-off-by: Adam Jackson <ajax at redhat.com>
---
include/inputstr.h | 1 -
render/animcur.c | 3 ---
2 files changed, 4 deletions(-)
diff --git a/include/inputstr.h b/include/inputstr.h
index 568f5f9919..5f0026b9b7 100644
--- a/include/inputstr.h
+++ b/include/inputstr.h
@@ -515,7 +515,6 @@ typedef struct _SpriteInfoRec {
CursorPtr pCursor;
ScreenPtr pScreen;
int elt;
- CARD32 time;
} anim;
} SpriteInfoRec, *SpriteInfoPtr;
diff --git a/render/animcur.c b/render/animcur.c
index e59a7c3c40..4bbbdd8bd5 100644
--- a/render/animcur.c
+++ b/render/animcur.c
@@ -148,7 +148,6 @@ AnimCurTimerNotify(OsTimerPtr timer, CARD32 now, void *arg)
pScreen->DisplayCursor = DisplayCursor;
dev->spriteInfo->anim.elt = elt;
- dev->spriteInfo->anim.time = now + ac->elts[elt].delay;
return ac->elts[elt].delay;
}
@@ -171,8 +170,6 @@ AnimCurDisplayCursor(DeviceIntPtr pDev, ScreenPtr pScreen, CursorPtr pCursor)
(pDev, pScreen, ac->elts[0].pCursor);
if (ret) {
pDev->spriteInfo->anim.elt = 0;
- pDev->spriteInfo->anim.time =
- GetTimeInMillis() + ac->elts[0].delay;
pDev->spriteInfo->anim.pCursor = pCursor;
pDev->spriteInfo->anim.pScreen = pScreen;
--
2.14.2
More information about the xorg-devel
mailing list