aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/backend/drm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr/backend/drm.h')
-rw-r--r--include/wlr/backend/drm.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/wlr/backend/drm.h b/include/wlr/backend/drm.h
index 4131b4cb..5db9b35c 100644
--- a/include/wlr/backend/drm.h
+++ b/include/wlr/backend/drm.h
@@ -3,6 +3,7 @@
#include <wayland-server.h>
#include <wlr/session.h>
+#include <wlr/backend.h>
#include <xf86drmMode.h> // drmModeModeInfo
struct wlr_drm_backend;
@@ -15,10 +16,8 @@ struct wlr_drm_mode {
drmModeModeInfo mode;
};
-struct wlr_drm_backend *wlr_drm_backend_init(struct wl_display *display,
- struct wlr_session *session, struct wl_listener *add, struct wl_listener *rem,
- struct wl_listener *render);
-void wlr_drm_backend_free(struct wlr_drm_backend *backend);
+struct wlr_backend *wlr_drm_backend_create(struct wl_display *display,
+ struct wlr_session *session);
const char *wlr_drm_output_get_name(struct wlr_drm_output *out);