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.
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;