summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-07-05 11:22:18 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-07-05 11:34:13 +1000
commit647c2d51b88e5d105c02b2a2dcaee4d72737fa7d (patch)
tree5b073e742e6d0e98a4012077c47276622ec7c09b
parent6728a38f8d5a7c489e3f0d9b4d00338ee4840810 (diff)
Fill in missing type_name.
This causes server crashes during activate if when the server attempts to allocate an atom based on the type name string. Regression introduced in xf86-input-hyperpen-1.3.0-24-g0a03c1f Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/xf86HyperPen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xf86HyperPen.c b/src/xf86HyperPen.c
index 5c7beaf..3abecf7 100644
--- a/src/xf86HyperPen.c
+++ b/src/xf86HyperPen.c
@@ -868,6 +868,7 @@ xf86HypInit(InputDriverPtr drv,
pInfo->read_input = xf86HypReadInput;
pInfo->control_proc = xf86HypChangeControl;
pInfo->switch_mode = xf86HypSwitchMode;
+ pInfo->type_name = "STYLUS";
pInfo->fd = -1;
priv->AutoPT = 1;