emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 5c4136f: Fix compilation with XInput 2 but without XKB


From: Po Lu
Subject: master 5c4136f: Fix compilation with XInput 2 but without XKB
Date: Tue, 23 Nov 2021 04:57:45 -0500 (EST)

branch: master
commit 5c4136f56465c6b2c65fb3577603879cdbbe7f97
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    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 bbfd3b0..dfbbff2 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;
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]