sway

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

commit 3a829362f23665965b98eb95761c75cbd3ab27b5
parent d1405da502b89fefa138a4ca8a47210e8080bf59
Author: Drew DeVault <sir@cmpwn.com>
Date:   Wed, 16 Dec 2015 20:55:26 -0500

Merge pull request #348 from mikkeloscar/bar-segv

swaybar: Check that registry is set before teardown
Diffstat:
Mswaybar/main.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/swaybar/main.c b/swaybar/main.c @@ -87,7 +87,9 @@ struct colors colors = { void sway_terminate(void) { window_teardown(window); - registry_teardown(registry); + if (registry) { + registry_teardown(registry); + } exit(EXIT_FAILURE); }