mirror of
https://github.com/swaywm/sway.git
synced 2024-11-26 09:51:29 +00:00
Fix #240
This commit is contained in:
parent
35fd139105
commit
2100d7bfef
|
@ -315,7 +315,7 @@ void apply_output_config(struct output_config *oc, swayc_t *output) {
|
||||||
output->x = x;
|
output->x = x;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (oc->background) {
|
if (oc && oc->background) {
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; i < root_container.children->length; ++i) {
|
for (i = 0; i < root_container.children->length; ++i) {
|
||||||
if (root_container.children->items[i] == output) {
|
if (root_container.children->items[i] == output) {
|
||||||
|
|
Loading…
Reference in a new issue