Clipping on subpixels is broken in GetPointerEvents and friends. Moving into the upper left corner it is possible to get negative (-1..0) root window coordinates.
Author: Peter Hutterer <firstname.lastname@example.org>
Date: Thu Oct 1 21:19:11 2009 +1000
dix: force a minimum of 0 for screen coordinates.
Currently the root coordinates may fall into ]-1..0] if the subpixel
remainder is less than 0. Screen coordinates mustn't go below 0, so use
miPointerSetPosition to cap off the remainder if the coordinates are below
This is cheating a bit, a more comprehensive solution to deal with subpixels
correctly when crossing screens is needed. For now, this'll do.
Signed-off-by: Peter Hutterer <email@example.com>
Acked-by: Simon Thum <firstname.lastname@example.org>