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.
This commit is contained in:
zccrs 2021-04-06 15:18:16 +08:00 committed by Simon Ser
parent 07a5345aa5
commit e76583f1ad
3 changed files with 6 additions and 6 deletions

View file

@ -12,9 +12,9 @@
#include <wlr/backend/session.h> #include <wlr/backend/session.h>
#include <wlr/render/drm_format_set.h> #include <wlr/render/drm_format_set.h>
#include <xf86drmMode.h> #include <xf86drmMode.h>
#include "iface.h" #include "backend/drm/iface.h"
#include "properties.h" #include "backend/drm/properties.h"
#include "renderer.h" #include "backend/drm/renderer.h"
struct wlr_drm_plane { struct wlr_drm_plane {
uint32_t type; uint32_t type;

View file

@ -1,4 +1,4 @@
#include "wlr/types/wlr_keyboard.h" #include <wlr/types/wlr_keyboard.h>
void keyboard_key_update(struct wlr_keyboard *keyboard, void keyboard_key_update(struct wlr_keyboard *keyboard,
struct wlr_event_keyboard_key *event); struct wlr_event_keyboard_key *event);

View file

@ -10,8 +10,8 @@
#define WLR_TYPES_WLR_KEYBOARD_GROUP_H #define WLR_TYPES_WLR_KEYBOARD_GROUP_H
#include <wayland-server-core.h> #include <wayland-server-core.h>
#include "wlr/types/wlr_keyboard.h" #include <wlr/types/wlr_keyboard.h>
#include "wlr/types/wlr_input_device.h" #include <wlr/types/wlr_input_device.h>
struct wlr_keyboard_group { struct wlr_keyboard_group {
struct wlr_keyboard keyboard; struct wlr_keyboard keyboard;