[PATCH penmount 1/1] Don't override the device name.
Peter Hutterer
peter.hutterer at who-t.net
Thu Jul 7 22:06:07 PDT 2011
The device name comes from the xorg.conf (or the config backend). If you're
capable of setting the device name in the config, you can set it in the
Identifier line as well.
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
src/xf86PM.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/src/xf86PM.c b/src/xf86PM.c
index edcf6f8..97e2134 100644
--- a/src/xf86PM.c
+++ b/src/xf86PM.c
@@ -492,9 +492,6 @@ PenMountPreInit(InputDriverPtr drv, InputInfoPtr pInfo, int flags)
goto SetupProc_fail;
}
- /* this results in an xstrdup that must be freed later */
- pInfo->name = xf86SetStrOption( pInfo->options, "DeviceName", "PenMount");
-
return Success;
SetupProc_fail:
--
1.7.5.4
More information about the xorg-devel
mailing list