mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
Add wl_output globals for wlr_outputs
This commit is contained in:
parent
5055d89955
commit
168f0955ab
8 changed files with 87 additions and 7 deletions
|
|
@ -150,6 +150,7 @@ struct wlr_output *wlr_wl_output_create(struct wlr_backend *_backend) {
|
|||
return false;
|
||||
}
|
||||
|
||||
wlr_output_create_global(wlr_output, backend->local_display);
|
||||
list_add(backend->outputs, wlr_output);
|
||||
wl_signal_emit(&backend->backend->events.output_add, wlr_output);
|
||||
return wlr_output;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue