aboutsummaryrefslogtreecommitdiffstats
path: root/src/window-xlib.h
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2017-06-01 03:30:18 -0400
committerJesse Luehrs <doy@tozt.net>2017-06-01 03:30:18 -0400
commit8402762a1f1e1df7c860b86d7055d9075d290394 (patch)
tree5e8356454660ba79d8f27d3509994d4c945cc579 /src/window-xlib.h
parent6603b76db73adc5769dbaf3fef7806f282d12eb7 (diff)
downloadrunes-8402762a1f1e1df7c860b86d7055d9075d290394.tar.gz
runes-8402762a1f1e1df7c860b86d7055d9075d290394.zip
implement motion mouse reporting
Diffstat (limited to 'src/window-xlib.h')
-rw-r--r--src/window-xlib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/window-xlib.h b/src/window-xlib.h
index c7bca22..4857194 100644
--- a/src/window-xlib.h
+++ b/src/window-xlib.h
@@ -3,6 +3,7 @@
#include <cairo.h>
#include <time.h>
+#include <vt100.h>
#include <X11/Xlib.h>
struct runes_window {
@@ -17,6 +18,8 @@ struct runes_window {
unsigned int multi_clicks;
void *multi_click_timer_event;
+ struct vt100_loc last_reported_mouse_position;
+
unsigned int owns_selection: 1;
unsigned int visual_bell_is_ringing: 1;
unsigned int delaying: 1;