summaryrefslogtreecommitdiff
path: root/src/haikuterm.h
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2021-11-22 07:10:57 +0000
committerPo Lu <luangruo@yahoo.com>2021-11-22 07:10:57 +0000
commitc7699b97022f5bdc3848d474485e0da5f2673595 (patch)
treedf4b84e2f1aafabd4c37f8da7ee3d82dc905b42f /src/haikuterm.h
parent9d8a2832e857fa82d401709ee4b56682ccb5b7d4 (diff)
downloademacs-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.h3
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