From 9065d0ccb26d013f26570d29c332bf1c93fabb2d Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 8 Oct 2008 16:16:58 +1030 Subject: 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. --- src/evdev.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') 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); -- cgit v1.2.3