]> git.eshelyaron.com Git - emacs.git/commit
Add pinch event support to xwidgets
authorPo Lu <luangruo@yahoo.com>
Fri, 31 Dec 2021 02:07:30 +0000 (10:07 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 31 Dec 2021 02:07:30 +0000 (10:07 +0800)
commit337005af0bf21244cabdc0b2a2c11d0095ecd0fa
tree3d0036ea1abdcc26546f7e284533978cff80206d
parent77f17649d81b2fbe8917264e6b253a95a3f2eea1
Add pinch event support to xwidgets

* src/xterm.c (handle_one_xevent): Pass through pinch events to
xwidgets and provide root coordinates when translating motion
events.
* src/xwidget.c (xwidget_motion_notify): Use provided root
window coordinates.
(xwidget_pinch): New function.
* src/xwidget.h (xwidget_motion_notify): Update prototype.
(xwidget_pinch): New function prototype.
src/xterm.c
src/xwidget.c
src/xwidget.h