aboutsummaryrefslogtreecommitdiff
path: root/include/rootston/seat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rootston/seat.h')
-rw-r--r--include/rootston/seat.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/rootston/seat.h b/include/rootston/seat.h
index c5e584b6..7e7ee3e9 100644
--- a/include/rootston/seat.h
+++ b/include/rootston/seat.h
@@ -10,7 +10,7 @@ struct roots_seat {
struct roots_input *input;
struct wlr_seat *seat;
struct roots_cursor *cursor;
- struct wl_list link;
+ struct wl_list link; // roots_input::seats
// coordinates of the first touch point if it exists
int32_t touch_id;
@@ -114,6 +114,7 @@ struct roots_tablet_tool {
struct wlr_tablet_v2_tablet_tool *tablet_v2_tool;
struct roots_seat *seat;
+ double tilt_x, tilt_y;
struct wl_listener set_cursor;
struct wl_listener tool_destroy;
@@ -122,6 +123,12 @@ struct roots_tablet_tool {
struct wl_listener tablet_destroy;
};
+struct roots_pointer_constraint {
+ struct wlr_pointer_constraint_v1 *constraint;
+
+ struct wl_listener destroy;
+};
+
struct roots_seat *roots_seat_create(struct roots_input *input, char *name);
void roots_seat_destroy(struct roots_seat *seat);