xserver-multidpi/randr
Rui Matos 9cc44b955b randr: Make the RRConstrainCursorHarder logic the same as miPointerSetPosition
The constraining logic in RRConstrainCursorHarder allows the cursor to reach
crtc positions of x = width and y = height while the constraining code in
miPointerSetPosition only allows it to reach x = width - 1 and y = height - 1
for the analogous screen case.

This patch makes the former's logic equivalent to the latter's which allows
applications to benefit from Fitts's law. E.g. a maximized application
adjacent to a crtc border wouldn't get pointer events if the user moved the
pointer all the way until it's contained.

Signed-off-by: Rui Matos <tiagomatos@gmail.com>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Keith Packard <keithp@keithp.com>
2011-11-03 14:12:21 -07:00
..
Makefile.am Revert "randr: Add sprite position transforms" 2011-02-23 11:18:12 -08:00
randr.c randr: Add RRConstrainCursorHarder 2011-03-14 13:35:51 -04:00
randrstr.h randr: Add RRConstrainCursorHarder 2011-03-14 13:35:51 -04:00
rrcrtc.c randr: Make the RRConstrainCursorHarder logic the same as miPointerSetPosition 2011-11-03 14:12:21 -07:00
rrdispatch.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
rrinfo.c Revert "randr: Add per-crtc pixmaps" 2011-02-23 11:17:42 -08:00
rrmode.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
rroutput.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
rrpointer.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
rrproperty.c randr: stop clients from deleting immutable output properties 2011-10-18 12:04:47 -07:00
rrscreen.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
rrsdispatch.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
rrtransform.c Revert "randr: Add sprite position transforms" 2011-02-23 11:18:12 -08:00
rrtransform.h Revert "randr: Add sprite position transforms" 2011-02-23 11:18:12 -08:00
rrxinerama.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00