diff options
| author | Po Lu | 2023-07-18 21:26:05 +0800 |
|---|---|---|
| committer | Po Lu | 2023-07-18 21:26:05 +0800 |
| commit | 607f826edd49cf771bd97d222d223ebda3dedea3 (patch) | |
| tree | b234011d6bf1663dc0a2462ad46abff2178db9a4 | |
| parent | c4f8ead08d12d1f82224e9af60482329771e254a (diff) | |
| download | emacs-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.c | 2 |
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: |