Apply default config to output

When starting without any output config, the default config was not
applying.
master
Ryan Dwyer 6 years ago
parent 06d9693829
commit 26204441b4

@ -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);
}

@ -253,9 +253,6 @@ struct output_config *output_find_config(struct sway_output *output) {
oc = all;
}
if (oc && !oc->enabled) {
return NULL;
}
return oc;
}

Loading…
Cancel
Save