aboutsummaryrefslogtreecommitdiff
path: root/rootston/input.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-09-23 17:48:13 -0400
committerDrew DeVault <sir@cmpwn.com>2017-09-23 17:48:13 -0400
commiteaf6c0ccf4a8fc78580a49335adb1783dbebd9af (patch)
treeb3cdde49226ab2cda6da66f40bb58dd42d9be9ea /rootston/input.c
parent5b92d4fecfbbf5da8cac442b598758c119afd8f9 (diff)
Implement pointer motion and buttons
Diffstat (limited to 'rootston/input.c')
-rw-r--r--rootston/input.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rootston/input.c b/rootston/input.c
index 9ad20b58..4925226a 100644
--- a/rootston/input.c
+++ b/rootston/input.c
@@ -82,6 +82,8 @@ struct roots_input *input_create(struct roots_server *server,
assert(input->xcursor = wlr_xcursor_theme_get_cursor(theme, "left_ptr"));
assert(input->wl_seat = wlr_seat_create(server->wl_display, "seat0"));
+ wlr_seat_set_capabilities(input->wl_seat, WL_SEAT_CAPABILITY_KEYBOARD
+ | WL_SEAT_CAPABILITY_POINTER | WL_SEAT_CAPABILITY_TOUCH);
wl_list_init(&input->keyboards);
wl_list_init(&input->pointers);