Commit c66089d2 authored by Peter Hutterer's avatar Peter Hutterer Committed by Keith Packard
Browse files

xfree86: constify InputInfoPtr->type_name

This corresponds to XListInputDevice(3)'s "type" field (after being
converted to an Atom). Input drivers use the XI_KEYBOARD and similar
defines, even Wacom which falls out of the common defines uses constant
strings here. The use-case for having this non-const is small.

Input ABI break technically, since we never freed this information anyway it
is not a noticable change.
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <>
Reviewed-by: default avatarChase Douglas <>
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <>
parent 505c8a2b
......@@ -98,7 +98,7 @@ typedef struct _InputInfoRec {
int fd;
DeviceIntPtr dev;
pointer private;
char *type_name;
const char *type_name;
InputDriverPtr drv;
pointer module;
XF86OptionPtr options;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment