Redraw all outputs when a new output is added
@@ -340,8 +340,11 @@ static void wc_new_output(struct wl_listener *listener, void *data) {
wlr_output_create_global(wlr_output);
wc_layer_shell_arrange_layers(output);
+ struct wc_output *temp;
+ wl_list_for_each_safe(output, temp, &server->outputs, link) {
wlr_output_damage_add_whole(output->damage);
}
+}
struct wc_output *wc_get_active_output(struct wc_server *server) {
if (wl_list_empty(&server->outputs)) {
