Fix compilation with XInput 2 but without XKB

* src/xterm.c (handle_one_xevent): Remove extraneous
conditional.
This commit is contained in:
Po Lu 2021-11-23 17:57:09 +08:00
parent 4c5efda8d3
commit 5c4136f564

View file

@ -10310,9 +10310,7 @@ handle_one_xevent (struct x_display_info *dpyinfo,
char copy_buffer[81];
char *copy_bufptr = copy_buffer;
unsigned char *copy_ubufptr;
#ifdef HAVE_XKB
int copy_bufsiz = sizeof (copy_buffer);
#endif
ptrdiff_t i;
int nchars, len;