wmifs: Prevent speedy scrolling problem.
commitc2155050c7a10370d673df81fbad12633ee147a9
authorDoug Torrance <dtorrance@monmouthcollege.edu>
Wed, 22 Oct 2014 21:34:31 +0000 (22 16:34 -0500)
committerCarlos R. Mafra <crmafra@gmail.com>
Thu, 23 Oct 2014 07:03:31 +0000 (23 08:03 +0100)
treee8e498ea29392da77e69cd694ca0458a3ece5ce3
parentac2050270edd8e9691895d8e25b75eefea792b04
wmifs: Prevent speedy scrolling problem.

Patch by Barak Pearlmutter <bap@cs.unm.edu>.  First appeared in Debian package
version 1.3b1-6.

From https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=83003:
On my laptop, following a suspend, wmifs scrolls like nuts for a long
time.  The scroll speed looks the same as for a wmifs that is paused
for a while using C-z.

Here is a patch that prevents this speedy scrolling problem.  I also
got rid of a couple unnecessary compiler warnings.
wmifs/wmifs/wmifs.c