aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/input/cursor.h
diff options
context:
space:
mode:
authorLibravatar Tony Crisci <tony@dubstepdish.com>2017-12-08 08:07:47 -0500
committerLibravatar Tony Crisci <tony@dubstepdish.com>2017-12-08 08:07:47 -0500
commitd76e745b738281fb98834fd5dee78f2a21727d80 (patch)
tree60d4c92b68788b1380f03481f70663b5cd67e57c /include/sway/input/cursor.h
parentsway cursor (diff)
downloadsway-d76e745b738281fb98834fd5dee78f2a21727d80.tar.gz
sway-d76e745b738281fb98834fd5dee78f2a21727d80.tar.zst
sway-d76e745b738281fb98834fd5dee78f2a21727d80.zip
input include directory
Diffstat (limited to 'include/sway/input/cursor.h')
-rw-r--r--include/sway/input/cursor.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/sway/input/cursor.h b/include/sway/input/cursor.h
new file mode 100644
index 00000000..91421964
--- /dev/null
+++ b/include/sway/input/cursor.h
@@ -0,0 +1,26 @@
1#ifndef _SWAY_CURSOR_H
2#define _SWAY_CURSOR_H
3
4#include "sway/input/seat.h"
5
6struct sway_cursor {
7 struct wlr_cursor *cursor;
8
9 struct wl_listener motion;
10 struct wl_listener motion_absolute;
11 struct wl_listener button;
12 struct wl_listener axis;
13
14 struct wl_listener touch_down;
15 struct wl_listener touch_up;
16 struct wl_listener touch_motion;
17
18 struct wl_listener tool_axis;
19 struct wl_listener tool_tip;
20
21 struct wl_listener request_set_cursor;
22};
23
24struct sway_cursor *sway_cursor_create(struct sway_seat *seat);
25
26#endif