]> git.eshelyaron.com Git - emacs.git/commit
Unify floating point handling when reading XI motion events
authorPo Lu <luangruo@yahoo.com>
Mon, 29 Aug 2022 09:23:18 +0000 (17:23 +0800)
committerPo Lu <luangruo@yahoo.com>
Mon, 29 Aug 2022 09:23:28 +0000 (17:23 +0800)
commit18d5eadf2c3460ce85655211f9870a4035c202c0
treec07db1eb4bc78f5ac6cb7dd103d45531aa1e8700
parent78698e9211ce642fb0ddeb63ce7d26339863d557
Unify floating point handling when reading XI motion events

* src/xterm.c (handle_one_xevent): Always round values as
recommended, instead of just truncating them.  Also fixes
weird "jitter" during drag-and-drop on some clients.
src/xterm.c