[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 192de232bf: Fix leak of event data on GTK+ 2.x
From: |
Po Lu |
Subject: |
master 192de232bf: Fix leak of event data on GTK+ 2.x |
Date: |
Tue, 7 Jun 2022 00:59:53 -0400 (EDT) |
branch: master
commit 192de232bfe1270421a97c37987f0f19ad66175c
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
Fix leak of event data on GTK+ 2.x
* src/xterm.c (handle_one_xevent): Fix goto XI_OTHER for
valuator motion events generated on scroll bars.
---
src/xterm.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/xterm.c b/src/xterm.c
index a11a22ab10..4dce24104d 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -18735,12 +18735,12 @@ handle_one_xevent (struct x_display_info *dpyinfo,
So instead of that, just ignore XI wheel
events which land on a scroll bar.
- Here we assume anything which isn't the edit
- widget window is a scroll bar. */
+ Here we assume anything which isn't the edit
+ widget window is a scroll bar. */
if (xev->child != None
&& xev->child != FRAME_X_WINDOW (f))
- goto OTHER;
+ goto XI_OTHER;
#endif
if (fabs (total_x) > 0 || fabs (total_y) > 0)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 192de232bf: Fix leak of event data on GTK+ 2.x,
Po Lu <=