summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2023-07-18 21:26:05 +0800
committerPo Lu <luangruo@yahoo.com>2023-07-18 21:26:05 +0800
commit607f826edd49cf771bd97d222d223ebda3dedea3 (patch)
treeb234011d6bf1663dc0a2462ad46abff2178db9a4 /src
parentc4f8ead08d12d1f82224e9af60482329771e254a (diff)
Fix event data leak
* src/xterm.c (handle_one_xevent): Jump to XI_OTHER after handling touch ownership event.
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 130a2c93b64..645aa76513c 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -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: