diff --git a/src/output.c b/src/output.c index 8034ec99..3632bbd7 100644 --- a/src/output.c +++ b/src/output.c @@ -196,9 +196,7 @@ new_output_notify(struct wl_listener *listener, void *data) struct server *server = wl_container_of(listener, server, new_output); struct wlr_output *wlr_output = data; - /* - * Name virtual outputs. - */ + /* Name virtual output */ if (wlr_output_is_headless(wlr_output) && server->headless.pending_output_name[0] != '\0') { wlr_output_set_name(wlr_output, server->headless.pending_output_name); server->headless.pending_output_name[0] = '\0'; @@ -783,9 +781,7 @@ void output_add_virtual(struct server *server, const char *output_name) { if (output_name) { - /* - * Prevent creating outputs with the same name - */ + /* Prevent creating outputs with the same name */ struct output *output; wl_list_for_each(output, &server->outputs, link) { if (wlr_output_is_headless(output->wlr_output)) { diff --git a/src/server.c b/src/server.c index 120b19f4..3da7a3f7 100644 --- a/src/server.c +++ b/src/server.c @@ -258,9 +258,7 @@ server_init(struct server *server) exit(EXIT_FAILURE); } - /* - * Create headless backend to enable adding virtual outputs later on. - */ + /* Create headless backend to enable adding virtual outputs later on */ server->headless.backend = wlr_headless_backend_create(server->wl_display); if (!server->headless.backend) { wlr_log(WLR_ERROR, "failed to create virtual output");