From 169bc9fa100afd01c25ec140e7dcae565920c6a4 Mon Sep 17 00:00:00 2001 From: Dominique Martinet Date: Tue, 19 Dec 2017 20:20:32 +0100 Subject: wl backend: add wlr_input_device_is_wl --- include/wlr/backend/wayland.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/wlr/backend') 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 #include #include +#include #include #include @@ -26,6 +27,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. */ -- cgit v1.2.3