From 6b0424c102b736686caccdc633b6a7126e26dbc0 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Sat, 20 Nov 2021 18:35:45 +0800 Subject: [PATCH] Fix a comment in XInput related code * src/xterm.c (x_term_init): Fix comment to say "XInput 2.1" instead of "XInput 1.1". --- src/xterm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xterm.c b/src/xterm.c index ed3921f2869..a023a5f9c89 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -14273,7 +14273,7 @@ x_term_init (Lisp_Object display_name, char *xrm_option, char *resource_name) int minor = 3; #elif defined XI_TouchBegin /* XInput 2.2 */ int minor = 2; -#elif defined XIScrollClass /* XInput 1.1 */ +#elif defined XIScrollClass /* XInput 2.1 */ int minor = 1; #else /* Some old version of XI2 we're not interested in. */ int minor = 0; -- 2.39.5