aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/input/cursor.h
diff options
context:
space:
mode:
authorLibravatar Tony Crisci <tony@dubstepdish.com>2017-12-10 08:48:44 -0500
committerLibravatar Tony Crisci <tony@dubstepdish.com>2017-12-10 08:48:44 -0500
commite69b052a6d88b1c24d5e48ad086480ee04c07c81 (patch)
tree0c76b0023ef379df124c04ee8dfe9583d49202b0 /include/sway/input/cursor.h
parentworking xcursor (diff)
downloadsway-e69b052a6d88b1c24d5e48ad086480ee04c07c81.tar.gz
sway-e69b052a6d88b1c24d5e48ad086480ee04c07c81.tar.zst
sway-e69b052a6d88b1c24d5e48ad086480ee04c07c81.zip
working pointer motion
Diffstat (limited to 'include/sway/input/cursor.h')
-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 @@
4#include "sway/input/seat.h" 4#include "sway/input/seat.h"
5 5
6struct sway_cursor { 6struct 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;