diff options
| author | Po Lu | 2022-08-09 19:55:47 +0800 |
|---|---|---|
| committer | Po Lu | 2022-08-09 19:56:09 +0800 |
| commit | 2ebfd7188f07e8c0c4e88d17e094d6fdd59f4769 (patch) | |
| tree | 8b1cbea1deed79715fd202b363c70e7a75ffd175 /src | |
| parent | 0a044f9405bea977a0f87fa1b777d16a11f4911a (diff) | |
| download | emacs-2ebfd7188f07e8c0c4e88d17e094d6fdd59f4769.tar.gz emacs-2ebfd7188f07e8c0c4e88d17e094d6fdd59f4769.zip | |
; * src/xterm.c (xi_populate_device_from_info): Minor ifdef cleanup.
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 | { |