aboutsummaryrefslogtreecommitdiff
path: root/include/sway/input
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-12-10 08:48:44 -0500
committerTony Crisci <tony@dubstepdish.com>2017-12-10 08:48:44 -0500
commite69b052a6d88b1c24d5e48ad086480ee04c07c81 (patch)
tree0c76b0023ef379df124c04ee8dfe9583d49202b0 /include/sway/input
parent9333a7eb5329073aecfaf776c8ee0572c7dff67c (diff)
downloadsway-e69b052a6d88b1c24d5e48ad086480ee04c07c81.tar.xz
working pointer motion
Diffstat (limited to 'include/sway/input')
-rw-r--r--include/sway/input/cursor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sway/input/cursor.h b/include/sway/input/cursor.h
index aa873f46..cc529de6 100644
--- a/include/sway/input/cursor.h
+++ b/include/sway/input/cursor.h
@@ -4,9 +4,12 @@
#include "sway/input/seat.h"
struct sway_cursor {
+ struct sway_seat *seat;
struct wlr_cursor *cursor;
struct wlr_xcursor_manager *xcursor_manager;
+ double x, y;
+
struct wl_listener motion;
struct wl_listener motion_absolute;
struct wl_listener button;