diff options
Diffstat (limited to 'include/wlr/backend')
-rw-r--r-- | include/wlr/backend/headless.h | 1 | ||||
-rw-r--r-- | include/wlr/backend/libinput.h | 3 | ||||
-rw-r--r-- | include/wlr/backend/wayland.h | 3 | ||||
-rw-r--r-- | include/wlr/backend/x11.h | 3 |
4 files changed, 6 insertions, 4 deletions
diff --git a/include/wlr/backend/headless.h b/include/wlr/backend/headless.h index f4735483..ff55746f 100644 --- a/include/wlr/backend/headless.h +++ b/include/wlr/backend/headless.h @@ -10,7 +10,6 @@ #define WLR_BACKEND_HEADLESS_H #include <wlr/backend.h> -#include <wlr/types/wlr_input_device.h> #include <wlr/types/wlr_output.h> /** diff --git a/include/wlr/backend/libinput.h b/include/wlr/backend/libinput.h index 50faaf7d..94197b7a 100644 --- a/include/wlr/backend/libinput.h +++ b/include/wlr/backend/libinput.h @@ -13,7 +13,8 @@ #include <wayland-server-core.h> #include <wlr/backend.h> #include <wlr/backend/session.h> -#include <wlr/types/wlr_input_device.h> + +struct wlr_input_device; struct wlr_backend *wlr_libinput_backend_create(struct wl_display *display, struct wlr_session *session); diff --git a/include/wlr/backend/wayland.h b/include/wlr/backend/wayland.h index a32a682a..0aed3aa1 100644 --- a/include/wlr/backend/wayland.h +++ b/include/wlr/backend/wayland.h @@ -4,9 +4,10 @@ #include <wayland-client.h> #include <wayland-server-core.h> #include <wlr/backend.h> -#include <wlr/types/wlr_input_device.h> #include <wlr/types/wlr_output.h> +struct wlr_input_device; + /** * Creates a new wlr_wl_backend. This backend will be created with no outputs; * you must use wlr_wl_output_create to add them. diff --git a/include/wlr/backend/x11.h b/include/wlr/backend/x11.h index 90918f3f..c6aaaf80 100644 --- a/include/wlr/backend/x11.h +++ b/include/wlr/backend/x11.h @@ -6,9 +6,10 @@ #include <wayland-server-core.h> #include <wlr/backend.h> -#include <wlr/types/wlr_input_device.h> #include <wlr/types/wlr_output.h> +struct wlr_input_device; + /** * Creates a new wlr_x11_backend. This backend will be created with no outputs; * you must use wlr_x11_output_create to add them. |