diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/xterm.c b/src/xterm.c index 806933fd07e..ab43a8ec517 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -5282,16 +5282,15 @@ xi_populate_device_from_info (struct xi_device_t *xi_device, | |||
| 5282 | * device->num_classes); | 5282 | * device->num_classes); |
| 5283 | values = NULL; | 5283 | values = NULL; |
| 5284 | #endif | 5284 | #endif |
| 5285 | #ifdef HAVE_XINPUT2_2 | ||
| 5286 | xi_device->touchpoints = NULL; | ||
| 5287 | #endif | ||
| 5288 | 5285 | ||
| 5289 | xi_device->use = device->use; | 5286 | xi_device->use = device->use; |
| 5287 | xi_device->name = build_string (device->name); | ||
| 5288 | xi_device->attachment = device->attachment; | ||
| 5289 | |||
| 5290 | #ifdef HAVE_XINPUT2_2 | 5290 | #ifdef HAVE_XINPUT2_2 |
| 5291 | xi_device->touchpoints = NULL; | ||
| 5291 | xi_device->direct_p = false; | 5292 | xi_device->direct_p = false; |
| 5292 | #endif | 5293 | #endif |
| 5293 | xi_device->name = build_string (device->name); | ||
| 5294 | xi_device->attachment = device->attachment; | ||
| 5295 | 5294 | ||
| 5296 | for (c = 0; c < device->num_classes; ++c) | 5295 | for (c = 0; c < device->num_classes; ++c) |
| 5297 | { | 5296 | { |