aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPo Lu2023-07-18 21:26:05 +0800
committerPo Lu2023-07-18 21:26:05 +0800
commit607f826edd49cf771bd97d222d223ebda3dedea3 (patch)
treeb234011d6bf1663dc0a2462ad46abff2178db9a4
parentc4f8ead08d12d1f82224e9af60482329771e254a (diff)
downloademacs-607f826edd49cf771bd97d222d223ebda3dedea3.tar.gz
emacs-607f826edd49cf771bd97d222d223ebda3dedea3.zip
Fix event data leak
* src/xterm.c (handle_one_xevent): Jump to XI_OTHER after handling touch ownership event.
-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,
24467 /* As a result, Emacs should complete whatever editing 24467 /* As a result, Emacs should complete whatever editing
24468 operations result from this touch sequence. */ 24468 operations result from this touch sequence. */
24469 touchpoint->ownership = TOUCH_OWNERSHIP_SELF; 24469 touchpoint->ownership = TOUCH_OWNERSHIP_SELF;
24470
24471 goto XI_OTHER;
24470 } 24472 }
24471 24473
24472 case XI_TouchUpdate: 24474 case XI_TouchUpdate: