From: Po Lu Date: Sat, 19 Feb 2022 03:51:05 +0000 (+0800) Subject: Be less strict about which emulated motion events to ignore X-Git-Tag: emacs-29.0.90~2241 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7829f1b5e698267c2baf37327fd393124f23c0ea;p=emacs.git 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. --- 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