Changed ownership of wlr_session to the multi backend.

Currently breaks VT switching for examples.
This commit is contained in:
Scott Anderson 2017-07-11 18:51:19 +12:00
parent 41b98f21e5
commit ae4478e17f
7 changed files with 59 additions and 30 deletions

View file

@ -2,8 +2,11 @@
#define _WLR_BACKEND_MULTI_H
#include <wlr/backend.h>
#include <wlr/backend/udev.h>
#include <wlr/session.h>
struct wlr_backend *wlr_multi_backend_create();
struct wlr_backend *wlr_multi_backend_create(struct wlr_session *session,
struct wlr_udev *udev);
void wlr_multi_backend_add(struct wlr_backend *multi,
struct wlr_backend *backend);