xserver/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
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
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
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
rrtransform.h
rrxinerama.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00