summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@redhat.com>2008-10-08 16:16:58 +1030
committerPeter Hutterer <peter.hutterer@redhat.com>2008-10-11 12:24:54 +1030
commit9065d0ccb26d013f26570d29c332bf1c93fabb2d (patch)
treeb296f1e0ca8bf57f718e00add4ace105e1a19841 /src
parenta9fcce1833f167ed8aa79d4dbfbbc3d6bca2e7fd (diff)
Remove "Path" option.
Path was just an alias for Device anyway, so we might as well not parse it. By now you should be using HAL anyway which fills in Device for you.
Diffstat (limited to 'src')
-rw-r--r--src/evdev.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/evdev.c b/src/evdev.c
index 054dbe2..d6848ff 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -1331,9 +1331,7 @@ EvdevPreInit(InputDriverPtr drv, IDevPtr dev, int flags)
*/
pEvdev->tool = 1;
- device = xf86CheckStrOption(dev->commonOptions, "Path", NULL);
- if (!device)
- device = xf86CheckStrOption(dev->commonOptions, "Device", NULL);
+ device = xf86CheckStrOption(dev->commonOptions, "Device", NULL);
if (!device) {
xf86Msg(X_ERROR, "%s: No device specified.\n", pInfo->name);
xf86DeleteInput(pInfo, 0);