aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sway/config/output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/config/output.c b/sway/config/output.c
index 54af5d8e..7e037676 100644
--- a/sway/config/output.c
+++ b/sway/config/output.c
@@ -210,7 +210,7 @@ static void merge_output_config(struct output_config *dst, struct output_config
210void store_output_config(struct output_config *oc) { 210void store_output_config(struct output_config *oc) {
211 bool merged = false; 211 bool merged = false;
212 bool wildcard = strcmp(oc->name, "*") == 0; 212 bool wildcard = strcmp(oc->name, "*") == 0;
213 struct sway_output *output = wildcard ? NULL : output_by_name_or_id(oc->name); 213 struct sway_output *output = wildcard ? NULL : all_output_by_name_or_id(oc->name);
214 214
215 char id[128]; 215 char id[128];
216 if (output) { 216 if (output) {