sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit b18c64d795f7158a66085babce33580091eebde3
parent f99992a8ae09e3a988f92558824fa1dc580a55cf
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sat, 20 Aug 2016 12:30:05 -0400

Merge pull request #867 from kb100/fix-865

Avoid dereferencing null configuration
Diffstat:
Msway/config.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sway/config.c b/sway/config.c @@ -859,7 +859,7 @@ void apply_input_config(struct input_config *ic, struct libinput_device *dev) { } void apply_output_config(struct output_config *oc, swayc_t *output) { - if (oc->enabled == 0) { + if (oc && oc->enabled == 0) { destroy_output(output); return; }