[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#523905: xserver-xorg-input-evdev: Tried to provide a patch nonetheless...



Package: xserver-xorg-input-evdev
Version: 1:2.2.1-1
Severity: normal
Tags: patch

Had a quick look at the source code and found something intriguing.
Might have found a solution, please take a look at the provided patch...

Cheers.
--- xf86-input-evdev-2.2.1/src/emuWheel.c	2009-03-23 07:35:13.000000000 +0100
+++ emuWheel.c	2009-04-13 16:02:02.000000000 +0200
@@ -238,7 +238,7 @@
     } else
         pEvdev->emulateWheel.enabled = FALSE;
 
-    wheelButton = xf86SetIntOption(pInfo->options, "EmulateWheelButton", 4);
+    wheelButton = xf86SetIntOption(pInfo->options, "EmulateWheelButton", 2);
 
     if ((wheelButton < 0) || (wheelButton > EVDEV_MAXBUTTONS)) {
         xf86Msg(X_WARNING, "%s: Invalid EmulateWheelButton value: %d\n",

Reply to: