From 7829f1b5e698267c2baf37327fd393124f23c0ea Mon Sep 17 00:00:00 2001 From: Po Lu Date: Sat, 19 Feb 2022 11:51:05 +0800 Subject: [PATCH] Be less strict about which emulated motion events to ignore * src/xterm.c (handle_one_xevent): Don't test XI2 version before dropping PointerEmulated motion events. --- src/xterm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/xterm.c b/src/xterm.c index 53cb7a2ac45..af456389aba 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -11017,8 +11017,7 @@ handle_one_xevent (struct x_display_info *dpyinfo, goto XI_OTHER; #ifdef XI_TouchBegin - if (xev->flags & XIPointerEmulated - && dpyinfo->xi2_version >= 2) + if (xev->flags & XIPointerEmulated) goto XI_OTHER; #endif -- 2.39.5