aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/backend
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr/backend')
-rw-r--r--include/wlr/backend/wayland.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/wlr/backend/wayland.h b/include/wlr/backend/wayland.h
index bed03f51..b10ffee3 100644
--- a/include/wlr/backend/wayland.h
+++ b/include/wlr/backend/wayland.h
@@ -4,6 +4,7 @@
#include <wayland-client.h>
#include <wayland-server.h>
#include <wlr/backend.h>
+#include <wlr/types/wlr_input_device.h>
#include <wlr/types/wlr_output.h>
#include <stdbool.h>
@@ -27,6 +28,11 @@ struct wlr_output *wlr_wl_output_create(struct wlr_backend *backend);
bool wlr_backend_is_wl(struct wlr_backend *backend);
/**
+ * True if the given input device is a wlr_wl_input_device.
+ */
+bool wlr_input_device_is_wl(struct wlr_input_device *device);
+
+/**
* True if the given output is a wlr_wl_backend_output.
*/
bool wlr_output_is_wl(struct wlr_output *output);