]> git.eshelyaron.com Git - emacs.git/commit
Disable generation of mouse-1 events after ancillary tool presses
authorPo Lu <luangruo@yahoo.com>
Thu, 16 Nov 2023 13:07:01 +0000 (21:07 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 16 Nov 2023 13:07:01 +0000 (21:07 +0800)
commitef6622bf04745a9088a3d152757e42061c6eca2a
treeb91a0ef9ff34df8f2b257c65693fd92ae02918c2
parent076c5f1f173f034e45ed3f22a7a92305ee8204de
Disable generation of mouse-1 events after ancillary tool presses

* lisp/touch-screen.el (touch-screen-handle-scroll): Correct
typo in comment.
(touch-screen-handle-point-update): Attempt to detect scroll
gestures and the like also when what is ancillary-tool.
(touch-screen-handle-point-up): Don't needlessly compute
relative xy when transforming aux tool into current tool.
(touch-screen-handle-touch): Set what field to ancillary-tool
rather than clear it when initializing the ancillary tool,
indicating to t-s-h-p-u that it must not generate mouse up
events.
lisp/touch-screen.el