commit 2100d7bfef5ac8446c054e0843f0af603130ed74
parent 35fd1391051965efdec43b1f61b9d3556acd9818
Author: Drew DeVault <sir@cmpwn.com>
Date: Thu, 19 Nov 2015 20:04:03 -0500
Fix #240
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sway/config.c b/sway/config.c
@@ -315,7 +315,7 @@ void apply_output_config(struct output_config *oc, swayc_t *output) {
output->x = x;
}
- if (oc->background) {
+ if (oc && oc->background) {
int i;
for (i = 0; i < root_container.children->length; ++i) {
if (root_container.children->items[i] == output) {