Strictly use handle_ prefix for signal handlers

This commit is contained in:
tokyo4j 2025-06-26 18:23:09 +09:00 committed by Hiroaki Yamamoto
parent 6f70cd0d6e
commit 75bd188592
11 changed files with 49 additions and 56 deletions

View file

@ -45,7 +45,7 @@ output_virtual_add(struct server *server, const char *output_name,
* and one time by the headless backend when it starts up and sends the
* signal for all its configured outputs. Rather than keeping a global
* server->headless.started state around that we could check here we just
* ignore duplicated new output calls in new_output_notify().
* ignore duplicated new output calls in handle_new_output().
*/
wl_list_remove(&server->new_output.link);
@ -62,7 +62,7 @@ output_virtual_add(struct server *server, const char *output_name,
wlr_output_set_name(wlr_output, output_name);
}
if (store_wlr_output) {
/* Ensures that we can use the new wlr_output pointer within new_output_notify() */
/* Ensures that we can use the new wlr_output pointer within handle_new_output() */
*store_wlr_output = wlr_output;
}