mirror of
https://cagebreak.project-repo.co/cagebreak.git
synced 2026-08-23 05:54:19 +02:00
Fix output ordering
This commit is contained in:
parent
db8dee68f5
commit
58e6cb5339
2 changed files with 3 additions and 1 deletions
|
|
@ -678,7 +678,7 @@ main(int argc, char *argv[]) {
|
|||
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_insert(&server, output);
|
||||
output_configure(&server, output);
|
||||
}
|
||||
server.curr_output =
|
||||
|
|
|
|||
2
output.h
2
output.h
|
|
@ -77,4 +77,6 @@ int
|
|||
output_get_num(const struct cg_output *output);
|
||||
void
|
||||
handle_output_gamma_control_set_gamma(struct wl_listener *listener, void *data);
|
||||
void
|
||||
output_insert(struct cg_server *server, struct cg_output *output);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue