diff options
author | zccrs <zccrs@live.com> | 2021-04-06 15:18:16 +0800 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-04-06 10:40:56 +0200 |
commit | e76583f1addd384151956ad779bfd800beeda8d6 (patch) | |
tree | 37702f687a32c5ebe2d498db228b6456e061609e | |
parent | 07a5345aa52ebb4e58736d62b9b21bc7d7eaab54 (diff) |
Use absolute paths in include in header files
To unify the code style of the project, absolute paths have been used in
some places, such as '#include "render/allocator.h"' in
"render/gbm_allocator.h". Except for include the wayland protocol
headers should be consistent.
-rw-r--r-- | include/backend/drm/drm.h | 6 | ||||
-rw-r--r-- | include/types/wlr_keyboard.h | 2 | ||||
-rw-r--r-- | include/wlr/types/wlr_keyboard_group.h | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h index 42680d74..11ce98e9 100644 --- a/include/backend/drm/drm.h +++ b/include/backend/drm/drm.h @@ -12,9 +12,9 @@ #include <wlr/backend/session.h> #include <wlr/render/drm_format_set.h> #include <xf86drmMode.h> -#include "iface.h" -#include "properties.h" -#include "renderer.h" +#include "backend/drm/iface.h" +#include "backend/drm/properties.h" +#include "backend/drm/renderer.h" struct wlr_drm_plane { uint32_t type; diff --git a/include/types/wlr_keyboard.h b/include/types/wlr_keyboard.h index e28462b5..edcfec49 100644 --- a/include/types/wlr_keyboard.h +++ b/include/types/wlr_keyboard.h @@ -1,4 +1,4 @@ -#include "wlr/types/wlr_keyboard.h" +#include <wlr/types/wlr_keyboard.h> void keyboard_key_update(struct wlr_keyboard *keyboard, struct wlr_event_keyboard_key *event); diff --git a/include/wlr/types/wlr_keyboard_group.h b/include/wlr/types/wlr_keyboard_group.h index 0b3df226..cb73899a 100644 --- a/include/wlr/types/wlr_keyboard_group.h +++ b/include/wlr/types/wlr_keyboard_group.h @@ -10,8 +10,8 @@ #define WLR_TYPES_WLR_KEYBOARD_GROUP_H #include <wayland-server-core.h> -#include "wlr/types/wlr_keyboard.h" -#include "wlr/types/wlr_input_device.h" +#include <wlr/types/wlr_keyboard.h> +#include <wlr/types/wlr_input_device.h> struct wlr_keyboard_group { struct wlr_keyboard keyboard; |