]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix compilation with XInput 2 but without XKB
authorPo Lu <luangruo@yahoo.com>
Tue, 23 Nov 2021 09:57:09 +0000 (17:57 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 23 Nov 2021 09:57:09 +0000 (17:57 +0800)
* src/xterm.c (handle_one_xevent): Remove extraneous
conditional.

src/xterm.c

index bbfd3b0e82bc50399c6bc1b4e8874479fcb00b07..dfbbff230240e9f192d70e3925ebac74e68ddc96 100644 (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;