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 <peter.hutterer@who-t.net> Reviewed-by: Chase Douglas <chase.douglas@canonical.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
		
							parent
							
								
									505c8a2b2c
								
							
						
					
					
						commit
						c66089d220
					
				| 
						 | 
					@ -98,7 +98,7 @@ typedef struct _InputInfoRec {
 | 
				
			||||||
    int fd;
 | 
					    int fd;
 | 
				
			||||||
    DeviceIntPtr dev;
 | 
					    DeviceIntPtr dev;
 | 
				
			||||||
    pointer private;
 | 
					    pointer private;
 | 
				
			||||||
    char *type_name;
 | 
					    const char *type_name;
 | 
				
			||||||
    InputDriverPtr drv;
 | 
					    InputDriverPtr drv;
 | 
				
			||||||
    pointer module;
 | 
					    pointer module;
 | 
				
			||||||
    XF86OptionPtr options;
 | 
					    XF86OptionPtr options;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue