9cc44b955b
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> |
||
---|---|---|
.. | ||
Makefile.am | ||
randr.c | ||
randrstr.h | ||
rrcrtc.c | ||
rrdispatch.c | ||
rrinfo.c | ||
rrmode.c | ||
rroutput.c | ||
rrpointer.c | ||
rrproperty.c | ||
rrscreen.c | ||
rrsdispatch.c | ||
rrtransform.c | ||
rrtransform.h | ||
rrxinerama.c |