Flesh out wayland backend registry

This commit is contained in:
Drew DeVault 2017-04-25 19:19:21 -04:00
parent de01e654ce
commit 5ca9d612f4
7 changed files with 156 additions and 16 deletions

View file

@ -36,8 +36,7 @@ struct wlr_wl_backend *wlr_wl_backend_init(
wlr_log(L_ERROR, "Could not connect to remote display");
goto error;
}
if (!(backend->remote_registry = wl_display_get_registry(
backend->remote_display))) {
if (!(backend->registry = wl_display_get_registry(backend->remote_display))) {
wlr_log(L_ERROR, "Could not obtain reference to remote registry");
goto error;
}