1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

gpm: ELinks can use the wheel mouse on the Linux console.

The gpm-wheel.patch in src/contrib. Tested for the exps2 mouse type.
This commit is contained in:
Witold Filipczyk 2006-12-15 13:56:00 +01:00 committed by Kalle Olavi Niemitalo
parent a1cf449218
commit d341483639

11
contrib/gpm-wheel.patch Normal file
View File

@ -0,0 +1,11 @@
--- gpm-1.20.1/src/gpm.c.old 2006-07-27 22:52:10.095084528 +0200
+++ gpm-1.20.1/src/gpm.c 2006-07-27 22:52:48.503245600 +0200
@@ -530,7 +530,7 @@
/* up and down, up and down, ... who does a do..while(0) loop ???
and then makes a break into it... argh ! */
- if (!event->dx && !event->dy && (event->buttons==oldB))
+ if (!event->dx && !event->dy && !event->wdx && !event->wdy && (event->buttons==oldB))
do { /* so to break */
static long awaketime;
/*