diff options
author | Scott Anderson <scott@anderso.nz> | 2018-11-11 11:58:14 +1300 |
---|---|---|
committer | Scott Anderson <scott@anderso.nz> | 2018-11-13 10:40:52 +1300 |
commit | ab2c57984bd66b19dde6bf4c24f62faac9e8bd4d (patch) | |
tree | afbf1997c319dc412d899915afbfe81abca0ff53 /include | |
parent | 51a283cbe4a77d11853f7779eb1aa452557846d3 (diff) |
backend/x11: Make header order consistent
Diffstat (limited to 'include')
-rw-r--r-- | include/backend/x11.h | 9 | ||||
-rw-r--r-- | include/wlr/backend/x11.h | 2 |
2 files changed, 8 insertions, 3 deletions
diff --git a/include/backend/x11.h b/include/backend/x11.h index cc7850b1..eccb422b 100644 --- a/include/backend/x11.h +++ b/include/backend/x11.h @@ -2,14 +2,17 @@ #define BACKEND_X11_H #include <stdbool.h> + +#include <X11/Xlib-xcb.h> #include <wayland-server.h> -#include <wlr/config.h> +#include <xcb/xcb.h> + #include <wlr/backend/x11.h> +#include <wlr/config.h> #include <wlr/interfaces/wlr_input_device.h> #include <wlr/interfaces/wlr_output.h> #include <wlr/render/egl.h> -#include <X11/Xlib-xcb.h> -#include <xcb/xcb.h> +#include <wlr/render/wlr_renderer.h> #define XCB_EVENT_RESPONSE_TYPE_MASK 0x7f diff --git a/include/wlr/backend/x11.h b/include/wlr/backend/x11.h index 56360bf7..5793a3b9 100644 --- a/include/wlr/backend/x11.h +++ b/include/wlr/backend/x11.h @@ -2,7 +2,9 @@ #define WLR_BACKEND_X11_H #include <stdbool.h> + #include <wayland-server.h> + #include <wlr/backend.h> #include <wlr/types/wlr_input_device.h> #include <wlr/types/wlr_output.h> |