diff options
| author | Po Lu | 2021-11-23 17:57:09 +0800 |
|---|---|---|
| committer | Po Lu | 2021-11-23 17:57:09 +0800 |
| commit | 5c4136f56465c6b2c65fb3577603879cdbbe7f97 (patch) | |
| tree | 5bf2f65f2d2c1df31c6e50c29f922889303122c6 | |
| parent | 4c5efda8d33e582c53a0d7a1d3dfabecaca038bd (diff) | |
| download | emacs-5c4136f56465c6b2c65fb3577603879cdbbe7f97.tar.gz emacs-5c4136f56465c6b2c65fb3577603879cdbbe7f97.zip | |
Fix compilation with XInput 2 but without XKB
* src/xterm.c (handle_one_xevent): Remove extraneous
conditional.
| -rw-r--r-- | src/xterm.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/xterm.c b/src/xterm.c index bbfd3b0e82b..dfbbff23024 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -10310,9 +10310,7 @@ handle_one_xevent (struct x_display_info *dpyinfo, | |||
| 10310 | char copy_buffer[81]; | 10310 | char copy_buffer[81]; |
| 10311 | char *copy_bufptr = copy_buffer; | 10311 | char *copy_bufptr = copy_buffer; |
| 10312 | unsigned char *copy_ubufptr; | 10312 | unsigned char *copy_ubufptr; |
| 10313 | #ifdef HAVE_XKB | ||
| 10314 | int copy_bufsiz = sizeof (copy_buffer); | 10313 | int copy_bufsiz = sizeof (copy_buffer); |
| 10315 | #endif | ||
| 10316 | ptrdiff_t i; | 10314 | ptrdiff_t i; |
| 10317 | int nchars, len; | 10315 | int nchars, len; |
| 10318 | 10316 | ||