summaryrefslogtreecommitdiff
path: root/Xi
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2011-03-03 15:46:45 +0000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-09-29 12:26:34 +1000
commit94c19a0a72403fc522e3d05eeb57f35e111a2562 (patch)
tree6c89fa814feef2553d60f323d4ea316b3820d889 /Xi
parent2d9beeb2174661d0a0732403ad4e49e9ff56718d (diff)
Input: Convert DeviceIntRec::last to use doubles
Change the last real user of a split integer/fractional co-ordinate system, DeviceIntRec's last->{valuators,remainder} to just have one set of doubles. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xi')
-rw-r--r--Xi/xiwarppointer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Xi/xiwarppointer.c b/Xi/xiwarppointer.c
index 8fcb4d16b..11ab241b5 100644
--- a/Xi/xiwarppointer.c
+++ b/Xi/xiwarppointer.c
@@ -190,8 +190,6 @@ ProcXIWarpPointer(ClientPtr client)
/* if we don't update the device, we get a jump next time it moves */
pDev->last.valuators[0] = x;
pDev->last.valuators[1] = y;
- pDev->last.remainder[0] = 0;
- pDev->last.remainder[1] = 0;
miPointerUpdateSprite(pDev);
/* FIXME: XWarpPointer is supposed to generate an event. It doesn't do it