mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
Remove wl_list_init when using wl_signal_add
This commit is contained in:
parent
1782d5e7b7
commit
c8570d0e42
13 changed files with 17 additions and 84 deletions
|
|
@ -175,7 +175,6 @@ void output_add_notify(struct wl_listener *listener, void *data) {
|
|||
output->desktop = desktop;
|
||||
output->wlr_output = wlr_output;
|
||||
output->frame.notify = output_frame_notify;
|
||||
wl_list_init(&output->frame.link);
|
||||
wl_signal_add(&wlr_output->events.frame, &output->frame);
|
||||
wl_list_insert(&desktop->outputs, &output->link);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue