From 5c4136f56465c6b2c65fb3577603879cdbbe7f97 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Tue, 23 Nov 2021 17:57:09 +0800 Subject: [PATCH] Fix compilation with XInput 2 but without XKB * src/xterm.c (handle_one_xevent): Remove extraneous conditional. --- src/xterm.c | 2 -- 1 file changed, 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, 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; -- 2.39.5