Skip to content

Commit

Permalink
Fix segfault
Browse files Browse the repository at this point in the history
  • Loading branch information
project-repo committed Jan 7, 2024
1 parent efa129f commit 99b643a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cagebreak.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit 99b643a

Please sign in to comment.