SOURCES: gpm-wheel.patch (NEW) - process wheelmouse events - ELink...

witekfl witekfl at pld-linux.org
Thu Jul 27 23:01:46 CEST 2006


Author: witekfl                      Date: Thu Jul 27 21:01:46 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- process wheelmouse events
- ELinks since 20060727 uses gpm wheelmouse

---- Files affected:
SOURCES:
   gpm-wheel.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/gpm-wheel.patch
diff -u /dev/null SOURCES/gpm-wheel.patch:1.1
--- /dev/null	Thu Jul 27 23:01:46 2006
+++ SOURCES/gpm-wheel.patch	Thu Jul 27 23:01:41 2006
@@ -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;
+          /*
================================================================


More information about the pld-cvs-commit mailing list