diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-11-19 20:04:03 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-11-19 20:04:03 -0500 |
commit | 2100d7bfef5ac8446c054e0843f0af603130ed74 (patch) | |
tree | 36809ffc770070e796d565dd577e6da21cb8fbf7 | |
parent | Add all documented scaling modes to config parser (diff) | |
download | sway-2100d7bfef5ac8446c054e0843f0af603130ed74.tar.gz sway-2100d7bfef5ac8446c054e0843f0af603130ed74.tar.zst sway-2100d7bfef5ac8446c054e0843f0af603130ed74.zip |
Fix #240
-rw-r--r-- | sway/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/config.c b/sway/config.c index 2c9cc290..725dedd2 100644 --- a/sway/config.c +++ b/sway/config.c | |||
@@ -315,7 +315,7 @@ void apply_output_config(struct output_config *oc, swayc_t *output) { | |||
315 | output->x = x; | 315 | output->x = x; |
316 | } | 316 | } |
317 | 317 | ||
318 | if (oc->background) { | 318 | if (oc && oc->background) { |
319 | int i; | 319 | int i; |
320 | for (i = 0; i < root_container.children->length; ++i) { | 320 | for (i = 0; i < root_container.children->length; ++i) { |
321 | if (root_container.children->items[i] == output) { | 321 | if (root_container.children->items[i] == output) { |