aboutsummaryrefslogtreecommitdiff
path: root/swaybar/status_line.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-03-29 21:09:34 -0400
committerDrew DeVault <sir@cmpwn.com>2018-03-29 22:11:08 -0400
commitf3fbf193127507e5ec5d23587c3e521ac2eb5891 (patch)
tree690ec43b681205b46f4c80f6d9f5ef4010c7b0a0 /swaybar/status_line.c
parent5f5076baffa34a9e0d3e33c8fd5ce7c8e8bdeb2d (diff)
Do some small cleanup
- Fix workspace events (security config isn't in use so it wasn't being sent) - Kill status bar process when swaybar exits - Don't rearrange windows on every layer surface commit
Diffstat (limited to 'swaybar/status_line.c')
-rw-r--r--swaybar/status_line.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/swaybar/status_line.c b/swaybar/status_line.c
index 5b131aee..3454f207 100644
--- a/swaybar/status_line.c
+++ b/swaybar/status_line.c
@@ -76,5 +76,6 @@ struct status_line *status_line_init(char *cmd) {
void status_line_free(struct status_line *status) {
close(status->read_fd);
close(status->write_fd);
+ kill(status->pid, SIGTERM);
free(status);
}