aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/output.c
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-08-30 23:58:53 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-09-05 18:01:43 +1000
commit26204441b40591415855d971f87f2bed511ccd7d (patch)
tree1affa3bebe61e846f4de24b600be1fe9c373dfcd /sway/desktop/output.c
parentRemove offset argument to container_add_sibling (diff)
downloadsway-26204441b40591415855d971f87f2bed511ccd7d.tar.gz
sway-26204441b40591415855d971f87f2bed511ccd7d.tar.zst
sway-26204441b40591415855d971f87f2bed511ccd7d.zip
Apply default config to output
When starting without any output config, the default config was not applying.
Diffstat (limited to 'sway/desktop/output.c')
-rw-r--r--sway/desktop/output.c2
1 files changed, 1 insertions, 1 deletions
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) {
547 547
548 struct output_config *oc = output_find_config(output); 548 struct output_config *oc = output_find_config(output);
549 549
550 if (oc && oc->enabled) { 550 if (!oc || oc->enabled) {
551 output_enable(output, oc); 551 output_enable(output, oc);
552 } 552 }
553 553