aboutsummaryrefslogtreecommitdiff
path: root/include/swaybar
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-02-15 16:25:28 +0100
committerGitHub <noreply@github.com>2019-02-15 16:25:28 +0100
commitcdbf8e8b2540768cc4c82176f6510d8e6ae8f037 (patch)
treee98b9ffe575791ab9fb48e52e5339c55bff2005a /include/swaybar
parent96de2b539c00992003664d0de225cc28c2fb9e54 (diff)
parentd3c527220a445c1f88b892c0e77e801d326541b7 (diff)
Merge pull request #3692 from ianyfan/swaybar
Fix crash and memory leak on bar termination
Diffstat (limited to 'include/swaybar')
-rw-r--r--include/swaybar/bar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/swaybar/bar.h b/include/swaybar/bar.h
index 2d9ba0d9..2518d5aa 100644
--- a/include/swaybar/bar.h
+++ b/include/swaybar/bar.h
@@ -46,6 +46,8 @@ struct swaybar {
#if HAVE_TRAY
struct swaybar_tray *tray;
#endif
+
+ bool running;
};
struct swaybar_output {