mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user