aboutsummaryrefslogtreecommitdiff
path: root/include/swaybar
diff options
context:
space:
mode:
authorNathan Schulte <nmschulte@gmail.com>2021-09-15 05:07:07 -0500
committerSimon Ser <contact@emersion.fr>2021-09-20 09:53:32 +0200
commit033061aee602a54f65340e2a300054d2790c22ea (patch)
tree79aa689ba0523caeecd25e8d20320d60de8632b0 /include/swaybar
parenta3451805200cd63ffe7478288a6d9b410cdaee35 (diff)
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/swaybar')
-rw-r--r--include/swaybar/i3bar.h1
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 {
// Airblader features
uint32_t background;
uint32_t border;
+ bool border_set;
int border_top;
int border_bottom;
int border_left;