diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2010-08-16 14:18:45 +1000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-08-18 13:10:54 -0700 |
commit | fc091936e2bddbbab9c9a501edc5a5f08388617e (patch) | |
tree | af78ec7f2dd0cba2129c72cf3f894f90c26b1bb8 /render | |
parent | 6e3e559e9fa63069a10eb834a6dab9a4cfc140ee (diff) |
dix: copy the valuators passed into GPE/GKVE/GProxE.
GPE and friends modify the valuators array passed in. Which means any driver
using e.g. xf86PostButtonEventP(..., valuators) twice to emulate a button
click will provide garbage data on the second run.
This is currently affecting the wacom driver, xf86PostButtonEventP() with
valuators is required to have input events with device-specific axis values.
Passing the same valuators in twice, once with press, once with release,
will see the valuators modified in the first call and garbage submitted in
the next one.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'render')
0 files changed, 0 insertions, 0 deletions