]> git.eshelyaron.com Git - emacs.git/commitdiff
Be less strict about which emulated motion events to ignore
authorPo Lu <luangruo@yahoo.com>
Sat, 19 Feb 2022 03:51:05 +0000 (11:51 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 19 Feb 2022 03:51:05 +0000 (11:51 +0800)
* src/xterm.c (handle_one_xevent): Don't test XI2 version before
dropping PointerEmulated motion events.

src/xterm.c

index 53cb7a2ac45e96b6caf325e6da22efce90e3baa9..af456389aba3f27041f36b19675b73df33a4853a 100644 (file)
@@ -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