output: set pointer to cg_output in wlr_output->data

This will be used later in the layer shell implementation.
This commit is contained in:
Jente Hidskes 2020-02-24 20:07:36 +01:00
parent fc5cc401b7
commit ddead86366

View file

@ -190,6 +190,7 @@ handle_new_output(struct wl_listener *listener, void *data)
}
output->wlr_output = wlr_output;
wlr_output->data = output;
output->server = server;
wl_list_insert(&server->outputs, &output->link);