aboutsummaryrefslogtreecommitdiff
path: root/sway/config/bar.c
AgeCommit message (Collapse)Author
2018-07-09Update for swaywm/wlroots#1126emersion
2018-07-05config: add a couple of forgotten freesDominique Martinet
2018-07-02bar config: fix uninitialized accesses on init errorDominique Martinet
If init fails halfway through it will call the destroy function, which needs some coherent stuff filled. Allocate with calloc and fill in what cannot fail first Found through static analysis.
2018-07-02invoke_swaybar: fix message length header sizeDominique Martinet
size_t/ssize_t are 8 bytes on 64bit systems, so use the proper size to transmit that information. This could lead to ridiculously large alloc as len is not initialized to zero Found through static analysis
2018-04-26Rename len to msg_len. Avoids an aliased variable that was a little ↵Geoff Greer
confusing to follow.
2018-04-26invoke_swaybar(): Set process group. Kill process group.Geoff Greer
Fixes a bug where terminate_swaybar() did not terminate swaybar.
2018-03-31Free bar configs on reload and exitDrew DeVault
2018-03-30Merge remote-tracking branch 'origin/wlroots' into swaybar-layersDrew DeVault
2018-03-29Terminate swaybar when freeing bar configDrew DeVault
2018-03-29Spawn swaybars when outputs are addedDrew DeVault
2018-03-29Move bar config into its own fileDrew DeVault