Documentation for <wlr/backend/multi.h>

Back to index

Table of contents

wlr_backend_is_multi()

bool wlr_backend_is_multi(​struct wlr_backend *backend);

wlr_multi_backend_add()

bool wlr_multi_backend_add(​struct wlr_backend *multi, struct wlr_backend *backend);

Adds the given backend to the multi backend. This should be done before the new backend is started.

wlr_multi_backend_create()

struct wlr_backend *wlr_multi_backend_create(​struct wl_display *display);

Creates a multi-backend. Multi-backends wrap an arbitrary number of backends and aggregate their new_output/new_input signals.

wlr_multi_backend_remove()

void wlr_multi_backend_remove(​struct wlr_backend *multi, struct wlr_backend *backend);

wlr_multi_for_each_backend()

void wlr_multi_for_each_backend(​struct wlr_backend *backend, void (*callback)(​struct wlr_backend *backend, void *data), void *data);

wlr_multi_is_empty()

bool wlr_multi_is_empty(​struct wlr_backend *backend);