From e76583f1addd384151956ad779bfd800beeda8d6 Mon Sep 17 00:00:00 2001 From: zccrs Date: Tue, 6 Apr 2021 15:18:16 +0800 Subject: [PATCH] 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. --- include/backend/drm/drm.h | 6 +++--- include/types/wlr_keyboard.h | 2 +- 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 #include #include -#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 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 -#include "wlr/types/wlr_keyboard.h" -#include "wlr/types/wlr_input_device.h" +#include +#include struct wlr_keyboard_group { struct wlr_keyboard keyboard;