aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/backend/headless.h
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-12-19 22:53:08 +0100
committerGitHub <noreply@github.com>2017-12-19 22:53:08 +0100
commit1a96ce0c53c84295d33b143e1b6cf02cb7017d50 (patch)
treec19713e52bb8931c9a5116e745104458bf5e4f29 /include/wlr/backend/headless.h
parent36d875136354b0f0438b1fe89d5ea897b113bd24 (diff)
parentfcd7062542bec6f9ab247dbc63c6eead457006bf (diff)
Merge pull request #505 from martinetd/io_is_foo
Add wlr_input_device_is_foo and wlr_output_is_bar functions
Diffstat (limited to 'include/wlr/backend/headless.h')
-rw-r--r--include/wlr/backend/headless.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/wlr/backend/headless.h b/include/wlr/backend/headless.h
index 68ad84da..8995f7cb 100644
--- a/include/wlr/backend/headless.h
+++ b/include/wlr/backend/headless.h
@@ -3,6 +3,7 @@
#include <wlr/backend.h>
#include <wlr/types/wlr_input_device.h>
+#include <wlr/types/wlr_output.h>
struct wlr_backend *wlr_headless_backend_create(struct wl_display *display);
struct wlr_output *wlr_headless_add_output(struct wlr_backend *backend,
@@ -10,5 +11,7 @@ struct wlr_output *wlr_headless_add_output(struct wlr_backend *backend,
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