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".
This commit is contained in:
Po Lu 2021-11-20 18:35:45 +08:00
parent 0c51c1b5ed
commit 6b0424c102

View file

@ -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;