diff options
| author | Po Lu | 2022-02-19 11:51:05 +0800 |
|---|---|---|
| committer | Po Lu | 2022-02-19 11:51:05 +0800 |
| commit | 7829f1b5e698267c2baf37327fd393124f23c0ea (patch) | |
| tree | 515a5d89222f983c36b874baa85f28f58f06e8df /src | |
| parent | 8f9edb2e7cb48ec0ab4153a4cca31922c1cc7486 (diff) | |
| download | emacs-7829f1b5e698267c2baf37327fd393124f23c0ea.tar.gz emacs-7829f1b5e698267c2baf37327fd393124f23c0ea.zip | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 3 |
1 files changed, 1 insertions, 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, | |||
| 11017 | goto XI_OTHER; | 11017 | goto XI_OTHER; |
| 11018 | 11018 | ||
| 11019 | #ifdef XI_TouchBegin | 11019 | #ifdef XI_TouchBegin |
| 11020 | if (xev->flags & XIPointerEmulated | 11020 | if (xev->flags & XIPointerEmulated) |
| 11021 | && dpyinfo->xi2_version >= 2) | ||
| 11022 | goto XI_OTHER; | 11021 | goto XI_OTHER; |
| 11023 | #endif | 11022 | #endif |
| 11024 | 11023 | ||