]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix event data leak
authorPo Lu <luangruo@yahoo.com>
Tue, 18 Jul 2023 13:26:05 +0000 (21:26 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 18 Jul 2023 13:26:05 +0000 (21:26 +0800)
* src/xterm.c (handle_one_xevent): Jump to XI_OTHER after
handling touch ownership event.

src/xterm.c

index 130a2c93b64da8938dd702748aa1b64b3059fe35..645aa76513cd79b07e08838270b538d5ceba7c77 100644 (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: