]> git.eshelyaron.com Git - emacs.git/commit
Use more reliable timestamps for some kinds of events on Haiku
authorPo Lu <luangruo@yahoo.com>
Wed, 19 Jan 2022 02:08:52 +0000 (02:08 +0000)
committerPo Lu <luangruo@yahoo.com>
Wed, 19 Jan 2022 02:08:52 +0000 (02:08 +0000)
commit90dda33108dc505f66d79c6422cf69456c5b7fa0
tree7c7ce9f831312c943213832205ba8c0bb19813f4
parentd5723560d5b611d076b196b350e34190834b1c88
Use more reliable timestamps for some kinds of events on Haiku

* src/haiku_support.cc (DispatchMessage):
(MouseMoved):
(MouseDown):
(MouseUp): Set `time' field of event structures to input server
time.
* src/haiku_support.h (struct haiku_key_event):
(struct haiku_mouse_motion_event):
(struct haiku_button_event): New field `time'.
* src/haikuterm.c (haiku_read_socket): Use input server time
if provided.
src/haiku_support.cc
src/haiku_support.h
src/haikuterm.c