From 7d560df90e7ee684dc26306f44a0b3c7f8cf2702 Mon Sep 17 00:00:00 2001 From: Simon Zeni Date: Thu, 27 Jan 2022 10:00:57 -0500 Subject: backend/headless: remove unused wlr_headless_input_device --- include/wlr/backend/headless.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'include/wlr') diff --git a/include/wlr/backend/headless.h b/include/wlr/backend/headless.h index 07dac9b8..f4735483 100644 --- a/include/wlr/backend/headless.h +++ b/include/wlr/backend/headless.h @@ -25,15 +25,8 @@ struct wlr_backend *wlr_headless_backend_create(struct wl_display *display); */ struct wlr_output *wlr_headless_add_output(struct wlr_backend *backend, unsigned int width, unsigned int height); -/** - * Creates a new input device. The caller is responsible for manually raising - * any event signals on the new input device if it wants to simulate input - * events. - */ -struct wlr_input_device *wlr_headless_add_input_device( - struct wlr_backend *backend, enum wlr_input_device_type type); + bool wlr_backend_is_headless(struct wlr_backend *backend); -bool wlr_input_device_is_headless(struct wlr_input_device *device); bool wlr_output_is_headless(struct wlr_output *output); #endif -- cgit v1.2.3