xserver-multidpi/randr
David Ung b063a185ab randr: Fix logic in RRPointerToNearestCrtc
RRPointerToNearestCrtc is suppose to snap to the nearest Crtc,
but best_x and best_y is always positive, hence when calling
SetCursorPosition it will make the cursor even further away.
Correct delta x/y to allow negative values and also use
"width/height -1" in the calculation.  Also choose the closest
Crtc by setting the "best" value.

Signed-off-by: David Ung <davidu@nvidia.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2014-07-30 14:40:17 -07:00
..
Makefile.am randr: add provider object and provider property support (v6) 2012-07-06 22:16:02 +01:00
randr.c randr: Fix crash for NULL swap dispatch procs 2014-04-21 11:44:02 -07:00
randrstr.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
rrcrtc.c rrcrtc: brackets are hard, lets go shopping. 2014-05-12 14:55:04 -07:00
rrdispatch.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
rrinfo.c randr: don't directly set changed bits in randr screen 2013-04-30 10:08:43 +10:00
rrmode.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
rroutput.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
rrpointer.c randr: Fix logic in RRPointerToNearestCrtc 2014-07-30 14:40:17 -07:00
rrproperty.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
rrprovider.c randr: Fix size checks for SetProvider* reqs 2014-04-21 11:44:31 -07:00
rrproviderproperty.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
rrscreen.c randr: don't directly set changed bits in randr screen 2013-04-30 10:08:43 +10:00
rrsdispatch.c randr: Implement RandR 1.4 request swapping 2014-04-21 11:44:38 -07:00
rrtransform.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
rrtransform.h randr: Remove redundant declaration. 2012-05-14 13:16:54 +01:00
rrxinerama.c randr: fix xinerama output for output slaves 2012-08-06 15:42:39 -07:00