diff options
Diffstat (limited to 'include/backend')
-rw-r--r-- | include/backend/headless.h | 9 |
1 files changed, 8 insertions, 1 deletions
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 |