Initialize display, backend; add frame handling

This commit is contained in:
Drew DeVault 2017-09-23 00:29:53 -04:00
parent 550748681d
commit b6d7c3ed8e
9 changed files with 253 additions and 36 deletions

View file

@ -209,7 +209,7 @@ static struct zxdg_toplevel_v6_listener xdg_toplevel_listener = {
struct wlr_output *wlr_wl_output_create(struct wlr_backend *_backend) {
assert(wlr_backend_is_wl(_backend));
struct wlr_wl_backend *backend = (struct wlr_wl_backend *)_backend;
if (!backend->remote_display) {
if (!backend->started) {
++backend->requested_outputs;
return NULL;
}