diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-07-08 14:07:34 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-07-08 15:04:03 +1000 |
commit | 55f337f61fdcb2d7ec77ec42d1b8b700d467196e (patch) | |
tree | 90ddfb6c6990c6bfbecaf357341520947c14ce93 /src/xf86Elo.c | |
parent | 7c324ede65c17e5c747b28f40b9fd19f21b79d9d (diff) |
Fix name and type_name for elographics
Don't overwrite the user-assigned name and use XI_TOUCHSCREEN for type_name.
Don't allow Option "DeviceName", use Identifier instead.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/xf86Elo.c')
-rw-r--r-- | src/xf86Elo.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/xf86Elo.c b/src/xf86Elo.c index 5aba02f..e779642 100644 --- a/src/xf86Elo.c +++ b/src/xf86Elo.c @@ -892,7 +892,7 @@ xf86EloAllocate(InputDriverPtr drv, InputInfoPtr pInfo) pInfo->control_proc = NULL; pInfo->switch_mode = NULL; pInfo->private = priv; - pInfo->type_name = "Elographics TouchScreen"; + pInfo->type_name = XI_TOUCHSCREEN; return Success; } @@ -967,8 +967,6 @@ xf86EloInit(InputDriverPtr drv, model++; } - pInfo->name = xf86SetStrOption(pInfo->options, "DeviceName", XI_TOUCHSCREEN); - xf86Msg(X_CONFIG, "Elographics X device name: %s\n", pInfo->name); priv->screen_no = xf86SetIntOption(pInfo->options, "ScreenNo", 0); xf86Msg(X_CONFIG, "Elographics associated screen: %d\n", priv->screen_no); priv->untouch_delay = xf86SetIntOption(pInfo->options, "UntouchDelay", ELO_UNTOUCH_DELAY); |