diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-12-10 08:48:44 -0500 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-12-10 08:48:44 -0500 |
commit | e69b052a6d88b1c24d5e48ad086480ee04c07c81 (patch) | |
tree | 0c76b0023ef379df124c04ee8dfe9583d49202b0 /include/sway/input | |
parent | working xcursor (diff) | |
download | sway-e69b052a6d88b1c24d5e48ad086480ee04c07c81.tar.gz sway-e69b052a6d88b1c24d5e48ad086480ee04c07c81.tar.zst sway-e69b052a6d88b1c24d5e48ad086480ee04c07c81.zip |
working pointer motion
Diffstat (limited to 'include/sway/input')
-rw-r--r-- | include/sway/input/cursor.h | 3 |
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 @@ | |||
4 | #include "sway/input/seat.h" | 4 | #include "sway/input/seat.h" |
5 | 5 | ||
6 | struct sway_cursor { | 6 | struct sway_cursor { |
7 | struct sway_seat *seat; | ||
7 | struct wlr_cursor *cursor; | 8 | struct wlr_cursor *cursor; |
8 | struct wlr_xcursor_manager *xcursor_manager; | 9 | struct wlr_xcursor_manager *xcursor_manager; |
9 | 10 | ||
11 | double x, y; | ||
12 | |||
10 | struct wl_listener motion; | 13 | struct wl_listener motion; |
11 | struct wl_listener motion_absolute; | 14 | struct wl_listener motion_absolute; |
12 | struct wl_listener button; | 15 | struct wl_listener button; |