[PATCH mutouch 1/1] Remove option DeviceName.

Peter Hutterer peter.hutterer at who-t.net
Thu Jul 7 22:06:10 PDT 2011


If you can set Option DeviceName, you should also be able to set Identifier
instead.

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 src/xf86MuTouch.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/src/xf86MuTouch.c b/src/xf86MuTouch.c
index 290fa11..a3fec4b 100644
--- a/src/xf86MuTouch.c
+++ b/src/xf86MuTouch.c
@@ -1135,11 +1135,6 @@ xf86MuTInit(InputDriverPtr	drv,
   /* Process the common options. */
   xf86ProcessCommonOptions(pInfo, pInfo->options);
 
-  str = xf86FindOptionValue(pInfo->options, "DeviceName");
-  if (str) {
-    pInfo->name = strdup(str);
-  }
-  xf86Msg(X_CONFIG, "MuTouch X device name: %s\n", pInfo->name);
   priv->screen_no = xf86SetIntOption(pInfo->options, "ScreenNo", 0);
   xf86Msg(X_CONFIG, "MuTouch associated screen: %d\n", priv->screen_no);
   priv->max_x = xf86SetIntOption(pInfo->options, "MaxX", 3000);
-- 
1.7.5.4



More information about the xorg-devel mailing list