Move server_new_output() to output.c

This commit is contained in:
Johan Malm 2020-05-29 22:18:03 +01:00
parent bc5accb089
commit 298d869092
5 changed files with 55 additions and 54 deletions

View file

@ -110,7 +110,7 @@ int main(int argc, char *argv[])
* Configure a listener to be notified when new outputs are available
* on the backend.
*/
server.new_output.notify = server_new_output;
server.new_output.notify = output_new;
wl_signal_add(&server.backend->events.new_output, &server.new_output);
/*