; * src/xterm.c (xi_populate_device_from_info): Minor ifdef cleanup.
This commit is contained in:
parent
0a044f9405
commit
2ebfd7188f
1 changed files with 5 additions and 6 deletions
11
src/xterm.c
11
src/xterm.c
|
@ -5282,17 +5282,16 @@ xi_populate_device_from_info (struct xi_device_t *xi_device,
|
|||
* device->num_classes);
|
||||
values = NULL;
|
||||
#endif
|
||||
#ifdef HAVE_XINPUT2_2
|
||||
xi_device->touchpoints = NULL;
|
||||
#endif
|
||||
|
||||
xi_device->use = device->use;
|
||||
#ifdef HAVE_XINPUT2_2
|
||||
xi_device->direct_p = false;
|
||||
#endif
|
||||
xi_device->name = build_string (device->name);
|
||||
xi_device->attachment = device->attachment;
|
||||
|
||||
#ifdef HAVE_XINPUT2_2
|
||||
xi_device->touchpoints = NULL;
|
||||
xi_device->direct_p = false;
|
||||
#endif
|
||||
|
||||
for (c = 0; c < device->num_classes; ++c)
|
||||
{
|
||||
switch (device->classes[c]->type)
|
||||
|
|
Loading…
Add table
Reference in a new issue