xf86-input-synaptics:master: 2 commit(s)
Peter Hutterer
whot at kemper.freedesktop.org
Thu Jul 9 22:24:42 PDT 2009
Reporting from xf86-input-synaptics: xf86-input-synaptics driver
Please visit:
http://cgit.freedesktop.org/xorg/driver/xf86-input-synaptics
Or get your own copy by using:
git-clone git://anongit.freedesktop.org/xorg/driver/xf86-input-synaptics
2 commits against master at bb74e1a1...:
man/synaptics.man | 17 ++--
src/properties.c | 17 ++++
src/synaptics.c | 204 ++++++++++++++++++++++++++++++++++++++---------------
src/synapticsstr.h | 24 +++++-
4 files changed, 198 insertions(+), 64 deletions(-)
commit afb60a0b2497c5d08cbd1739fa8ae6585c428881
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date: Mon Jul 6 09:17:57 2009 +1000
Auto-adjust edges if values fall outside queried min/max ranges. (#21001)
The kernel provides min/max for x/y values but still allows devices to send
coordinates outside this range. If the edges are autodetected, re-adjust the
edge settings to fit within the new effective min/max range.
When the edges change the property needs to be updated accordingly. This
can't be done immediately as changing properties requires mallocs and
HandleState is called during the signal handler.
Instead, set a timer to be called when the server isn't busy and update the
property then. The delay between setting the timer and sending the property
notify event also reduces the number of events sent, the property event
includes the latest state only.
If the edges were configured by the user, don't re-adjust.
This obsoletes the SpecialScrollAreaRight option as it provides the same
functionality, without the side-effects triggering 21001.
X.Org Bug 21001 <http://bugs.freedesktop.org/show_bug.cgi?id=21001>
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
diffstat:
man/synaptics.man | 17 +++--
src/properties.c | 17 +++++
src/synaptics.c | 147 +++++++++++++++++++++++++++++++++++++------------
src/synapticsstr.h | 24 +++++++-
4 files changed, 163 insertions(+), 42 deletions(-)
gitweb url:
http://cgit.freedesktop.org/xorg/driver/xf86-input-synaptics;a=commit;h=afb60a0b
commit 24d8919e7052b950ddde85c6dc45552faa4cb30f
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date: Tue Jun 30 10:14:11 2009 +1000
Move edge calculation stuff out into separate function.
diffstat:
src/synaptics.c | 59 +++++++++++++++++++++++++++++++---------------------
1 file changed, 36 insertions(+), 23 deletions(-)
gitweb url:
http://cgit.freedesktop.org/xorg/driver/xf86-input-synaptics;a=commit;h=afb60a0b
More information about the xorg-commit
mailing list