aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/backend
diff options
context:
space:
mode:
authorDominique Martinet <asmadeus@codewreck.org>2017-12-19 20:40:36 +0100
committerDominique Martinet <asmadeus@codewreck.org>2017-12-19 20:40:36 +0100
commitfcd7062542bec6f9ab247dbc63c6eead457006bf (patch)
treec19713e52bb8931c9a5116e745104458bf5e4f29 /include/wlr/backend
parent169bc9fa100afd01c25ec140e7dcae565920c6a4 (diff)
x11 backend: add wlr_input_device_is_x11
Diffstat (limited to 'include/wlr/backend')
-rw-r--r--include/wlr/backend/x11.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/wlr/backend/x11.h b/include/wlr/backend/x11.h
index 667bfd15..b22d7f68 100644
--- a/include/wlr/backend/x11.h
+++ b/include/wlr/backend/x11.h
@@ -4,12 +4,14 @@
#include <stdbool.h>
#include <wayland-server.h>
#include <wlr/backend.h>
+#include <wlr/types/wlr_input_device.h>
#include <wlr/types/wlr_output.h>
struct wlr_backend *wlr_x11_backend_create(struct wl_display *display,
const char *x11_display);
bool wlr_backend_is_x11(struct wlr_backend *backend);
+bool wlr_input_device_is_x11(struct wlr_input_device *device);
bool wlr_output_is_x11(struct wlr_output *output);
#endif