diff options
author | Po Lu <luangruo@yahoo.com> | 2021-11-22 07:10:57 +0000 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2021-11-22 07:10:57 +0000 |
commit | c7699b97022f5bdc3848d474485e0da5f2673595 (patch) | |
tree | df4b84e2f1aafabd4c37f8da7ee3d82dc905b42f /src/haikuterm.h | |
parent | 9d8a2832e857fa82d401709ee4b56682ccb5b7d4 (diff) | |
download | emacs-c7699b97022f5bdc3848d474485e0da5f2673595.tar.gz |
Fix mouse movement event generation on Haiku
* src/haikuterm.c (haiku_mouse_position): Set timestamp.
(haiku_read_socket): Set last_mouse_movement_time.
* src/haikuterm.h (struct haiku_display_info): Add field
`last_mouse_movement_time'.
Diffstat (limited to 'src/haikuterm.h')
-rw-r--r-- | src/haikuterm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/haikuterm.h b/src/haikuterm.h index af55f68c679..7ed7485ef53 100644 --- a/src/haikuterm.h +++ b/src/haikuterm.h @@ -30,6 +30,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ #include "character.h" #include "dispextern.h" #include "font.h" +#include "systime.h" #define C_FRAME struct frame * #define C_FONT struct font * @@ -107,6 +108,8 @@ struct haiku_display_info haiku display; double resx, resy; + + Time last_mouse_movement_time; }; struct haiku_output |