diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2020-09-26 19:18:07 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2020-09-26 19:18:07 -0700 |
commit | c962c3deb21b0faec28fdabb460649b68c250eb6 (patch) | |
tree | 25fa1a18657588a9e4d14ce67f07c232926a9c5c /src/modules/sparkler/helpers.h | |
parent | 1f8de9a371a1ca7f208e28c66468d911db6af103 (diff) |
modules/compose: set default layers
In case some code path creates module contexts and renders without
applying settings, it's important to ensure there are defaults.
As-is this would have crashed compose because compose_layers would
have been NULL, and compose_create_context() assumed compose_layers
always contained something useful.
Montage would have been an example of this, though for other reasons
montage has had compose disabled so I don't think anything currently
would have triggered this.
Diffstat (limited to 'src/modules/sparkler/helpers.h')
0 files changed, 0 insertions, 0 deletions