diff options
author | Po Lu <luangruo@yahoo.com> | 2021-12-18 08:58:51 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2021-12-18 08:58:51 +0800 |
commit | 26d1f04d76333571b4dbe6d2cab75b44023574ee (patch) | |
tree | 4460a132de80fee841becf83df4311e617d3ff6f | |
parent | 041fff3d3dda2914f40b590a5e6a9f791a5a7fd0 (diff) | |
download | emacs-26d1f04d76333571b4dbe6d2cab75b44023574ee.tar.gz |
Don't abort upon untracked TouchUpdate events
Emacs might get an untracked TouchUpdate event in the unlikely
event of a device hierarchy change during a touch sequence, in
which case all devices and touchpoints will be reset.
* src/xterm.c (handle_one_xevent): Don't abort when receiving
a TouchUpdate that isn't part of a touch sequence.
-rw-r--r-- | src/xterm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c index 761e324e8c5..03f509ba868 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -10935,7 +10935,7 @@ handle_one_xevent (struct x_display_info *dpyinfo, touchpoint = xi_find_touch_point (device, xev->detail); if (!touchpoint) - emacs_abort (); + goto XI_OTHER; touchpoint->x = xev->event_x; touchpoint->y = xev->event_y; |