diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-03-29 21:09:34 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-03-29 22:11:08 -0400 |
commit | f3fbf193127507e5ec5d23587c3e521ac2eb5891 (patch) | |
tree | 690ec43b681205b46f4c80f6d9f5ef4010c7b0a0 /swaybar/status_line.c | |
parent | 5f5076baffa34a9e0d3e33c8fd5ce7c8e8bdeb2d (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.c | 1 |
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); } |