diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2019-06-03 22:29:36 -0400 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2019-06-04 08:47:36 +0300 |
commit | 799f5a2cd5ffa83d73816489aa8683564bc226f7 (patch) | |
tree | 2f9bc4f5d5c544a3539259a3a44b70c1e4fc956d /swaybar/tray/watcher.c | |
parent | 6b6eb147ec2e79866f30a8f339c91f9bf5ca8c8c (diff) |
cmd_hide_edge_borders: add missing arg count check
This adds the missing argument count check after the --i3 flag
processing in cmd_hide_edge_borders. Without the check,
`hide_edge_borders --i3` would result in a SIGSEGV instead of a syntax
error. There are some minor adjustments to make it so nothing gets
altered if this check fails
Diffstat (limited to 'swaybar/tray/watcher.c')
0 files changed, 0 insertions, 0 deletions