diff options
author | Nathan Schulte <nmschulte@gmail.com> | 2021-09-15 05:07:07 -0500 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-09-20 09:53:32 +0200 |
commit | 033061aee602a54f65340e2a300054d2790c22ea (patch) | |
tree | 79aa689ba0523caeecd25e8d20320d60de8632b0 /include | |
parent | Drop hardcoded font metric values (diff) | |
download | sway-033061aee602a54f65340e2a300054d2790c22ea.tar.gz sway-033061aee602a54f65340e2a300054d2790c22ea.tar.zst sway-033061aee602a54f65340e2a300054d2790c22ea.zip |
swaybar: properly draw blocks with transparent black border
while the draw itself is a no-op, alignment must still be accounted
this requires more signalling about the blocks (border_set; was the
border set?)
Diffstat (limited to 'include')
-rw-r--r-- | include/swaybar/i3bar.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/swaybar/i3bar.h b/include/swaybar/i3bar.h index df8cdd09..1aec6d6c 100644 --- a/include/swaybar/i3bar.h +++ b/include/swaybar/i3bar.h | |||
@@ -19,6 +19,7 @@ struct i3bar_block { | |||
19 | // Airblader features | 19 | // Airblader features |
20 | uint32_t background; | 20 | uint32_t background; |
21 | uint32_t border; | 21 | uint32_t border; |
22 | bool border_set; | ||
22 | int border_top; | 23 | int border_top; |
23 | int border_bottom; | 24 | int border_bottom; |
24 | int border_left; | 25 | int border_left; |