Fix event data leak

* src/xterm.c (handle_one_xevent): Jump to XI_OTHER after
handling touch ownership event.
This commit is contained in:
Po Lu 2023-07-18 21:26:05 +08:00
parent c4f8ead08d
commit 607f826edd

View file

@ -24467,6 +24467,8 @@ handle_one_xevent (struct x_display_info *dpyinfo,
/* As a result, Emacs should complete whatever editing
operations result from this touch sequence. */
touchpoint->ownership = TOUCH_OWNERSHIP_SELF;
goto XI_OTHER;
}
case XI_TouchUpdate: