aboutsummaryrefslogtreecommitdiffstats
path: root/sway/container.c
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2015-11-28 10:18:37 -0500
committerLibravatar Drew DeVault <sir@cmpwn.com>2015-11-28 10:18:37 -0500
commit1661edee2808f5d293ce89bf46bd87faff25d654 (patch)
tree60d4b04a3a118f792f4faf1f7a88eb78acbcb72b /sway/container.c
parentImprove config file loading (diff)
downloadsway-1661edee2808f5d293ce89bf46bd87faff25d654.tar.gz
sway-1661edee2808f5d293ce89bf46bd87faff25d654.tar.zst
sway-1661edee2808f5d293ce89bf46bd87faff25d654.zip
Allow output config for output named *
Which will match any output.
Diffstat (limited to 'sway/container.c')
-rw-r--r--sway/container.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sway/container.c b/sway/container.c
index ba37d7c8..3315fd93 100644
--- a/sway/container.c
+++ b/sway/container.c
@@ -87,7 +87,10 @@ swayc_t *new_output(wlc_handle handle) {
87 sway_log(L_DEBUG, "Matched output config for %s", name); 87 sway_log(L_DEBUG, "Matched output config for %s", name);
88 break; 88 break;
89 } 89 }
90 oc = NULL; 90 if (strcasecmp("*", oc->name) == 0) {
91 sway_log(L_DEBUG, "Matched wildcard output config for %s", name);
92 break;
93 }
91 } 94 }
92 95
93 if (oc && !oc->enabled) { 96 if (oc && !oc->enabled) {