projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1453cd
)
Ignore pinch events from the wrong window
author
Po Lu
<luangruo@yahoo.com>
Mon, 20 Jun 2022 10:13:51 +0000
(18:13 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Mon, 20 Jun 2022 10:13:51 +0000
(18:13 +0800)
* src/xterm.c (handle_one_xevent): Use x_window_to_frame to find
frames for pinch events.
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 12d091c1d92e9dc770669a8e1d9e2c6e0c4bc3d3..b5543b873ca957b1bd771c1b99495cd7da912527 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-21685,7
+21685,7
@@
handle_one_xevent (struct x_display_info *dpyinfo,
}
#endif
- any = x_
any_
window_to_frame (dpyinfo, pev->event);
+ any = x_window_to_frame (dpyinfo, pev->event);
if (any)
{
inev.ie.kind = PINCH_EVENT;