diff options
author | Drew DeVault <[email protected]> | 2015-11-28 10:18:37 -0500 |
---|---|---|
committer | Drew DeVault <[email protected]> | 2015-11-28 10:18:37 -0500 |
commit | 1661edee2808f5d293ce89bf46bd87faff25d654 (patch) | |
tree | 60d4b04a3a118f792f4faf1f7a88eb78acbcb72b /sway/container.c | |
parent | 2f192ccecabfaa4ab85f6cfb616380c571c67ce6 (diff) |
Allow output config for output named *
Which will match any output.
Diffstat (limited to 'sway/container.c')
-rw-r--r-- | sway/container.c | 5 |
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) { sway_log(L_DEBUG, "Matched output config for %s", name); break; } - oc = NULL; + if (strcasecmp("*", oc->name) == 0) { + sway_log(L_DEBUG, "Matched wildcard output config for %s", name); + break; + } } if (oc && !oc->enabled) { |