Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
xorg-x11-driver-input
xf86-input-evdev-commit-c1f16a4.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xf86-input-evdev-commit-c1f16a4.diff of Package xorg-x11-driver-input
commit c1f16a4f59a584ab4546c2f16e20b06703042057 Author: Bartosz Brachaczek <b.brachaczek@gmail.com> Date: Fri Nov 13 00:18:00 2009 +1000 Set all valuators for relative motion events (#24737) We should process all the deltas reported by a relative motion device, otherwise some devices such as A4Tech X-750F or similar may trigger a situation when the `v` array contains random values (it isn't initialized anywhere) and later we process them and in effect the mouse cursor "jumps" on the screen. I'm not sure why, but we also must be sure that the `first` and `last` variables reflect the axis map, otherwise the mouse cursor "jumps" on the screen when clicking mouse buttons in some rare cases reported by Bartek Iwaniec on Bugzilla. That's why a simple initialization of the `v` array with zeros isn't sufficient. X.Org Bug 24737 <http://bugs.freedesktop.org/show_bug.cgi?id=24737> Signed-off-by: Bartosz Brachaczek <b.brachaczek@gmail.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> --- xf86-input-evdev-2.2.5/src/evdev.c.orig 2009-12-20 16:54:03.000000000 +0000 +++ xf86-input-evdev-2.2.5/src/evdev.c 2009-12-20 16:55:22.000000000 +0000 @@ -493,7 +493,7 @@ EvdevProcessEvent(InputInfoPtr pInfo, st for (i = 0; i < REL_CNT; i++) { int map = pEvdev->axis_map[i]; - if (delta[i] && map != -1) + if (map != -1) { post_deltas[map] = delta[i]; if (map < first)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor