diff --git a/sway/desktop/output.c b/sway/desktop/output.c index 792a7231..7e9f7b7e 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c @@ -547,7 +547,7 @@ void handle_new_output(struct wl_listener *listener, void *data) { struct output_config *oc = output_find_config(output); - if (oc && oc->enabled) { + if (!oc || oc->enabled) { output_enable(output, oc); } diff --git a/sway/tree/output.c b/sway/tree/output.c index afc336f8..35589032 100644 --- a/sway/tree/output.c +++ b/sway/tree/output.c @@ -253,9 +253,6 @@ struct output_config *output_find_config(struct sway_output *output) { oc = all; } - if (oc && !oc->enabled) { - return NULL; - } return oc; }