From bc5bdb7793d7737a42489ddb07b2fbb7f74a47f5 Mon Sep 17 00:00:00 2001 From: emersion Date: Sun, 17 Dec 2017 18:49:20 +0100 Subject: Add headless input devices --- include/backend/headless.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'include/backend/headless.h') diff --git a/include/backend/headless.h b/include/backend/headless.h index 6aaf5f76..91ff37dd 100644 --- a/include/backend/headless.h +++ b/include/backend/headless.h @@ -10,11 +10,12 @@ struct wlr_headless_backend { struct wlr_egl egl; struct wl_display *display; struct wl_list outputs; + struct wl_list input_devices; struct wl_listener display_destroy; bool started; }; -struct wlr_headless_backend_output { +struct wlr_headless_output { struct wlr_output wlr_output; struct wlr_headless_backend *backend; @@ -25,4 +26,10 @@ struct wlr_headless_backend_output { int frame_delay; // ms }; +struct wlr_headless_input_device { + struct wlr_input_device wlr_input_device; + + struct wlr_headless_backend *backend; +}; + #endif -- cgit v1.2.3