aboutsummaryrefslogtreecommitdiff
path: root/rootston/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'rootston/main.c')
-rw-r--r--rootston/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rootston/main.c b/rootston/main.c
index dc98bdc7..c081f57c 100644
--- a/rootston/main.c
+++ b/rootston/main.c
@@ -33,6 +33,8 @@ int main(int argc, char **argv) {
//assert(server.backend = wlr_backend_autocreate(server.wl_display));
assert(server.backend = wlr_headless_backend_create(server.wl_display));
wlr_headless_add_output(server.backend, 1280, 720);
+ wlr_headless_add_input_device(server.backend, WLR_INPUT_DEVICE_KEYBOARD);
+ wlr_headless_add_input_device(server.backend, WLR_INPUT_DEVICE_POINTER);
assert(server.renderer = wlr_gles2_renderer_create(server.backend));
server.data_device_manager =