[PATCH] dix: put warning in for scroll increments of 0

Keith Packard keithp at keithp.com
Thu Mar 15 06:20:58 PDT 2012


<#part sign=pgpmime>
On Thu, 15 Mar 2012 13:46:56 +1000, Peter Hutterer <peter.hutterer at who-t.net> wrote:
> If the increment is 0 but this is a scroll axis, it's definitely a bug.
> Nonetheless, it has happened, so put a warning in and a return statement
> that we avoid the infinite loop and hopefully be able to reproduce
> later.

(an ugly hack, but better than spinning forever)

Reviewed-by: Keith Packard <keithp at keithp.com>

-- 
keith.packard at intel.com


More information about the xorg-devel mailing list