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

diff -u -r -p xf86-input-evdev-1.1.5.orig/man/evdev.man xf86-input-evdev-1.1.5/man/evdev.man
--- xf86-input-evdev-1.1.5.orig/man/evdev.man	2007-11-02 15:39:27.237661250 +0100
+++ xf86-input-evdev-1.1.5/man/evdev.man	2007-11-02 15:43:59.902701750 +0100
@@ -94,7 +94,7 @@ This option uses globbing.
 Please note that use of this option is strongly discouraged.
 
 .TP 7
-.BI "Option \*qName\*q \*q" string \*q
+.BI "Option \*qeName\*q \*q" string \*q
 Specifies the device name for the device you wish to use.
 .fi
 The device name is generally the only consistent identifier for devices 
@@ -158,7 +158,7 @@ for your device.
 This value depends on what type of bus your device is connected to.
 
 .TP 7
-.BI "Option \*qvendor\*q \*q" integer \*q
+.BI "Option \*qevendor\*q \*q" integer \*q
 Specifies the vendor ID for the device you wish to use.
 .fi
 This is either 0 (the default, matches anything), or the Vendor=<n> field in
diff -u -r -p xf86-input-evdev-1.1.5.orig/src/evdev.c xf86-input-evdev-1.1.5/src/evdev.c
--- xf86-input-evdev-1.1.5.orig/src/evdev.c	2007-11-02 15:39:26.605621750 +0100
+++ xf86-input-evdev-1.1.5/src/evdev.c	2007-11-02 15:43:02.815134000 +0100
@@ -399,7 +399,7 @@ EvdevCorePreInit(InputDriverPtr drv, IDe
     if (!(pEvdev = Xcalloc(sizeof(*pEvdev))))
         return NULL;
 
-    pEvdev->name = xf86CheckStrOption(dev->commonOptions, "Name", NULL);
+    pEvdev->name = xf86CheckStrOption(dev->commonOptions, "eName", NULL);
     pEvdev->phys = xf86CheckStrOption(dev->commonOptions, "Phys", NULL);
     pEvdev->device = xf86CheckStrOption(dev->commonOptions, "Device", NULL);
 
@@ -424,7 +424,7 @@ EvdevCorePreInit(InputDriverPtr drv, IDe
 #undef bitoption
 
     pEvdev->id.bustype = xf86CheckIntOption(dev->commonOptions, "bustype", 0);
-    pEvdev->id.vendor = xf86CheckIntOption(dev->commonOptions, "vendor", 0);
+    pEvdev->id.vendor = xf86CheckIntOption(dev->commonOptions, "evendor", 0);
     pEvdev->id.product = xf86CheckIntOption(dev->commonOptions, "product", 0);
     pEvdev->id.version = xf86CheckIntOption(dev->commonOptions, "version", 0);
 
openSUSE Build Service is sponsored by