File xf86-input-evdev-commit-eeb3727.diff of Package xorg-x11-driver-input

--- src/evdev_btn.c.orig	2008-04-19 13:30:21.000000000 +0000
+++ src/evdev_btn.c	2008-04-19 13:30:55.000000000 +0000
@@ -179,18 +179,6 @@ EvdevBtnInit (DeviceIntPtr device)
 int
 EvdevBtnOn (DeviceIntPtr device)
 {
-    InputInfoPtr pInfo = device->public.devicePrivate;
-    evdevDevicePtr pEvdev = pInfo->private;
-    int i, blocked;
-
-    if (!pEvdev->state.btn)
-	return Success;
-
-    blocked = xf86BlockSIGIO ();
-    for (i = 1; i <= pEvdev->state.btn->buttons; i++)
-	xf86PostButtonEvent (device, 0, i, 0, 0, 0);
-    xf86UnblockSIGIO (blocked);
-
     return Success;
 }
 
openSUSE Build Service is sponsored by