diff options
-rw-r--r-- | backend/wayland/backend.c | 9 | ||||
-rw-r--r-- | backend/wayland/output.c | 3 | ||||
-rw-r--r-- | backend/wayland/wl_seat.c | 4 | ||||
-rw-r--r-- | include/backend/wayland.h | 2 |
4 files changed, 16 insertions, 2 deletions
diff --git a/backend/wayland/backend.c b/backend/wayland/backend.c index 7ccd632d..cb4f190d 100644 --- a/backend/wayland/backend.c +++ b/backend/wayland/backend.c @@ -1,16 +1,21 @@ #include <assert.h> -#include <EGL/egl.h> -#include <EGL/eglext.h> #include <limits.h> #include <stdint.h> #include <stdlib.h> + +#include <wlr/config.h> + +#include <EGL/egl.h> +#include <EGL/eglext.h> #include <wayland-server.h> + #include <wlr/backend/interface.h> #include <wlr/interfaces/wlr_input_device.h> #include <wlr/interfaces/wlr_output.h> #include <wlr/render/egl.h> #include <wlr/render/gles2.h> #include <wlr/util/log.h> + #include "backend/wayland.h" #include "util/signal.h" #include "xdg-shell-unstable-v6-client-protocol.h" diff --git a/backend/wayland/output.c b/backend/wayland/output.c index f90c6009..03322678 100644 --- a/backend/wayland/output.c +++ b/backend/wayland/output.c @@ -6,11 +6,14 @@ #include <sys/mman.h> #include <sys/types.h> #include <unistd.h> + #include <wayland-client.h> + #include <wlr/interfaces/wlr_output.h> #include <wlr/render/wlr_renderer.h> #include <wlr/types/wlr_matrix.h> #include <wlr/util/log.h> + #include "backend/wayland.h" #include "util/signal.h" #include "xdg-shell-unstable-v6-client-protocol.h" diff --git a/backend/wayland/wl_seat.c b/backend/wayland/wl_seat.c index 711abeca..c4098987 100644 --- a/backend/wayland/wl_seat.c +++ b/backend/wayland/wl_seat.c @@ -1,16 +1,20 @@ #define _POSIX_C_SOURCE 200809L + #include <assert.h> #include <stdint.h> #include <stdlib.h> #include <string.h> #include <time.h> + #include <wayland-client.h> + #include <wlr/interfaces/wlr_input_device.h> #include <wlr/interfaces/wlr_keyboard.h> #include <wlr/interfaces/wlr_output.h> #include <wlr/interfaces/wlr_pointer.h> #include <wlr/interfaces/wlr_touch.h> #include <wlr/util/log.h> + #include "backend/wayland.h" #include "util/signal.h" diff --git a/include/backend/wayland.h b/include/backend/wayland.h index 7c92cf84..dbc309ca 100644 --- a/include/backend/wayland.h +++ b/include/backend/wayland.h @@ -2,10 +2,12 @@ #define BACKEND_WAYLAND_H #include <stdbool.h> + #include <wayland-client.h> #include <wayland-egl.h> #include <wayland-server.h> #include <wayland-util.h> + #include <wlr/backend/wayland.h> #include <wlr/render/egl.h> #include <wlr/render/wlr_renderer.h> |