dix: rename moveAbsolute to clipAbsolute

Let's be honest about what it does.

moveRelative accumulates delta _and_ clips in some cases, so that one can
keep it's name.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
This commit is contained in:
Peter Hutterer 2011-10-03 12:18:20 +10:00
parent 959d18c376
commit b966362ccf

View File

@ -693,7 +693,7 @@ UpdateFromMaster(InternalEvent* events, DeviceIntPtr dev, int type, int *num_eve
* @param mask Valuator data for this event.
*/
static void
moveAbsolute(DeviceIntPtr dev, ValuatorMask *mask)
clipAbsolute(DeviceIntPtr dev, ValuatorMask *mask)
{
int i;
@ -1146,7 +1146,7 @@ fill_pointer_events(InternalEvent *events, DeviceIntPtr pDev, int type,
}
transformAbsolute(pDev, &mask);
moveAbsolute(pDev, &mask);
clipAbsolute(pDev, &mask);
} else {
if (flags & POINTER_ACCELERATE)
accelPointer(pDev, &mask, ms);