xserver/randr
Rui Matos bed7d7f31e 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>
(cherry picked from commit 9cc44b955b)
2011-11-28 09:00:52 -08: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-28 09:00:52 -08:00
rrdispatch.c include: add version_compare helper function 2011-05-13 09:41:50 +10:00
rrinfo.c Revert "randr: Add per-crtc pixmaps" 2011-02-23 11:17:42 -08:00
rrmode.c ProcRRCreateMode: fix use of uninitialised bytes valgrind error. 2011-02-14 09:12:59 +10:00
rroutput.c randr: set error numbers of resource types in RRExtenstionInit() (V2) 2010-09-29 14:41:53 -07:00
rrpointer.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
rrproperty.c randr: Compare all the bytes in RRPostPendingProperties 2011-07-29 16:41:53 -07:00
rrscreen.c randr: check rotated virtual size limits correctly 2011-05-25 09:44:52 -06:00
rrsdispatch.c Revert "randr: Hook up the new RandR 1.4 functionality" 2011-02-23 11:17:36 -08: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 Move each screen's root-window pointer into ScreenRec. 2010-06-03 14:03:23 -07:00