aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-11-08 15:23:56 -0500
committerTony Crisci <tony@dubstepdish.com>2017-11-08 15:23:56 -0500
commit428bf18ec70a29d6e3d778ab3baf175a3cead0af (patch)
tree1b2d54a95b02a7dc6a2af5cbec7eb7c7f497c3e0 /include
parent992f931ae9319999f338298d8e0538f13ee388d7 (diff)
rootston: request set cursor
Diffstat (limited to 'include')
-rw-r--r--include/rootston/cursor.h8
-rw-r--r--include/rootston/input.h5
2 files changed, 8 insertions, 5 deletions
diff --git a/include/rootston/cursor.h b/include/rootston/cursor.h
index 18d5f720..3bc8c08b 100644
--- a/include/rootston/cursor.h
+++ b/include/rootston/cursor.h
@@ -53,6 +53,11 @@ struct roots_cursor {
struct wl_listener tool_axis;
struct wl_listener tool_tip;
+
+ struct wl_listener pointer_grab_begin;
+ struct wl_listener pointer_grab_end;
+
+ struct wl_listener request_set_cursor;
};
struct roots_cursor *roots_cursor_create(struct roots_seat *seat);
@@ -86,4 +91,7 @@ void roots_cursor_handle_tool_axis(struct roots_cursor *cursor,
void roots_cursor_handle_tool_tip(struct roots_cursor *cursor,
struct wlr_event_tablet_tool_tip *event);
+void roots_cursor_handle_request_set_cursor(struct roots_cursor *cursor,
+ struct wlr_seat_pointer_request_set_cursor_event *event);
+
#endif
diff --git a/include/rootston/input.h b/include/rootston/input.h
index e073a59d..ea0bbeb6 100644
--- a/include/rootston/input.h
+++ b/include/rootston/input.h
@@ -17,11 +17,6 @@ struct roots_input {
struct wl_listener input_remove;
struct wl_list seats;
-
- struct wl_listener pointer_grab_begin;
- struct wl_listener pointer_grab_end;
-
- struct wl_listener request_set_cursor;
};
struct roots_input *input_create(struct roots_server *server,