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?)
This commit is contained in:
Nathan Schulte 2021-09-15 05:07:07 -05:00 committed by Simon Ser
parent a345180520
commit 033061aee6
3 changed files with 41 additions and 34 deletions

View file

@ -19,6 +19,7 @@ struct i3bar_block {
// Airblader features
uint32_t background;
uint32_t border;
bool border_set;
int border_top;
int border_bottom;
int border_left;