You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
384 B
14 lines
384 B
#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;
|
|
}
|