mirror of
https://cagebreak.project-repo.co/cagebreak.git
synced 2026-08-21 13:04:18 +02:00
Fix segfault
This commit is contained in:
parent
efa129f168
commit
99b643a65b
1 changed files with 2 additions and 0 deletions
|
|
@ -677,6 +677,8 @@ main(int argc, char *argv[]) {
|
|||
wl_list_init(&server.outputs);
|
||||
struct cg_output *output, *output_tmp;
|
||||
wl_list_for_each_safe(output, output_tmp, &tmp_list, link) {
|
||||
wl_list_remove(&output->link);
|
||||
wl_list_insert(&server.outputs,&output->link);
|
||||
output_configure(&server, output);
|
||||
}
|
||||
server.curr_output =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue