diff options
author | glebius <glebius@FreeBSD.org> | 2015-06-12 13:57:04 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2015-06-12 13:57:04 +0000 |
commit | 48b139a974515fdae262d78f82e2e311e97f4c3b (patch) | |
tree | 181cbb5bf7db72b3526918b2892f242d3e0c509c /usr.bin/svn/lib/libsvn_diff/Makefile | |
parent | 8b406dff3f2929b56028f1c46a42fc02e3430cc5 (diff) | |
download | FreeBSD-src-48b139a974515fdae262d78f82e2e311e97f4c3b.zip FreeBSD-src-48b139a974515fdae262d78f82e2e311e97f4c3b.tar.gz |
Unbreak mouse on resume on Thinkpads when hw.psm.trackpoint_support=0,
which is default. It was broken in r281441.
It appears that set_trackpoint_parameters() call on resume disables the
mouse. So, we need not call it on resume if hw.psm.trackpoint_support=0.
The problem is that the probe functions are used both for probing and
for reiniting on resume. And the absense of the softc parameter is used
as a mark to distinguish reinit and probe, which is quite ugly. At the
same time the softc parameter is needed to call set_trackpoint_parameters().
o Change the arguments of probefunc_t to always supply the softc, and
use additional enum argument to tell probing from initing.
o Don't call set_trackpoint_parameters() from global doinitialize(),
instead call it from the enable_trackpoint() only.
o In enable_synaptics() call enable_trackpoint() in both probe and
reinit cases.
Together with: Jan Kokemüller <jan.kokemueller gmail.com>
Diffstat (limited to 'usr.bin/svn/lib/libsvn_diff/Makefile')
0 files changed, 0 insertions, 0 deletions