wlroots/backend/wayland/backend.c

14 lines
384 B
C
Raw Normal View History

2017-04-25 15:32:52 +00:00
#include <stdlib.h>
#include <stdint.h>
#include <wayland-server.h>
#include "backend/wayland.h"
struct wlr_wayland_backend *wayland_backend_init(struct wl_display *display,
size_t outputs) {
struct wlr_wayland_backend *backend = calloc(
sizeof(struct wlr_wayland_backend), 1);
backend->local_display = display;
// TODO: obtain reference to remote display
return backend;
}