aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Anderson <ascent12@hotmail.com>2017-08-06 21:49:04 +1200
committerScott Anderson <ascent12@hotmail.com>2017-08-06 21:49:04 +1200
commit5f7042a1f22247b478b6225c3e1356c72cdd72ba (patch)
treed5876c7f115f655f550186f98e8e8db470d7ef78
parentd307c2f2c267a2226c4b279da334b1964272cf18 (diff)
Moved headers
-rw-r--r--backend/drm/backend.c4
-rw-r--r--backend/drm/drm-properties.c2
-rw-r--r--backend/drm/drm-util.c2
-rw-r--r--backend/drm/drm.c4
-rw-r--r--include/backend/drm-properties.h (renamed from backend/drm/drm-properties.h)0
-rw-r--r--include/backend/drm-util.h (renamed from backend/drm/drm-util.h)0
-rw-r--r--include/backend/drm.h (renamed from backend/drm/drm.h)0
7 files changed, 6 insertions, 6 deletions
diff --git a/backend/drm/backend.c b/backend/drm/backend.c
index 0a378477..68eae890 100644
--- a/backend/drm/backend.c
+++ b/backend/drm/backend.c
@@ -12,8 +12,8 @@
#include <wlr/interfaces/wlr_output.h>
#include <wlr/util/list.h>
#include <wlr/util/log.h>
-#include <backend/udev.h>
-#include "drm.h"
+#include "backend/udev.h"
+#include "backend/drm.h"
static bool wlr_drm_backend_init(struct wlr_backend_state *drm) {
wlr_drm_scan_connectors(drm);
diff --git a/backend/drm/drm-properties.c b/backend/drm/drm-properties.c
index 391ae38c..1b6e745f 100644
--- a/backend/drm/drm-properties.c
+++ b/backend/drm/drm-properties.c
@@ -5,7 +5,7 @@
#include <xf86drm.h>
#include <xf86drmMode.h>
#include <wlr/util/log.h>
-#include "drm-properties.h"
+#include "backend/drm-properties.h"
/*
* Creates a mapping between property names and an array index where to store
diff --git a/backend/drm/drm-util.c b/backend/drm/drm-util.c
index 68f35fe0..6159b5de 100644
--- a/backend/drm/drm-util.c
+++ b/backend/drm/drm-util.c
@@ -2,7 +2,7 @@
#include <string.h>
#include <drm.h>
#include <drm_mode.h>
-#include "drm-util.h"
+#include "backend/drm-util.h"
int32_t calculate_refresh_rate(drmModeModeInfo *mode) {
int32_t refresh = (mode->clock * 1000000LL / mode->htotal +
diff --git a/backend/drm/drm.c b/backend/drm/drm.c
index 67a48dda..d739edad 100644
--- a/backend/drm/drm.c
+++ b/backend/drm/drm.c
@@ -18,8 +18,8 @@
#include <wlr/render/matrix.h>
#include <wlr/render/gles2.h>
#include <wlr/render.h>
-#include "drm.h"
-#include "drm-util.h"
+#include "backend/drm.h"
+#include "backend/drm-util.h"
bool wlr_drm_check_features(struct wlr_backend_state *drm) {
if (drmSetClientCap(drm->fd, DRM_CLIENT_CAP_UNIVERSAL_PLANES, 1)) {
diff --git a/backend/drm/drm-properties.h b/include/backend/drm-properties.h
index 287fc1e0..287fc1e0 100644
--- a/backend/drm/drm-properties.h
+++ b/include/backend/drm-properties.h
diff --git a/backend/drm/drm-util.h b/include/backend/drm-util.h
index 759bdb48..759bdb48 100644
--- a/backend/drm/drm-util.h
+++ b/include/backend/drm-util.h
diff --git a/backend/drm/drm.h b/include/backend/drm.h
index 91346169..91346169 100644
--- a/backend/drm/drm.h
+++ b/include/backend/drm.h