aboutsummaryrefslogtreecommitdiff
path: root/include/rootston/seat.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-09-27 05:57:43 -0500
committerGitHub <noreply@github.com>2018-09-27 05:57:43 -0500
commit5e9959daaaa86394917144c9928c734fbf533f04 (patch)
tree7503c7ea870f40d68b0ee594d5129cd592ccbff4 /include/rootston/seat.h
parente47b8cd629f9378c74673cb577cc268667a71d1e (diff)
parent1b598f67ca28dce6b61829694ba1a55d05e35678 (diff)
Merge pull request #852 from Laaas/master
Implement pointer-constraints-unstable-v1 protocol
Diffstat (limited to 'include/rootston/seat.h')
-rw-r--r--include/rootston/seat.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/rootston/seat.h b/include/rootston/seat.h
index c5e584b6..1248918a 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;
@@ -122,6 +122,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);