Center i3bar text vertically
Patch status: needinfo
Patch by S0lll0s
To apply this patch, use:
curl http://cr.i3wm.org/patch/419/raw.patch | git am
b/i3bar/src/xcb.c
13 |
@@ -1719,8 +1719,8 @@ void draw_bars(bool unhide) { |
14 |
outputs_walk->buffer, |
15 |
outputs_walk->bargc, |
16 |
MAX(0, (int16_t)(statusline_width - outputs_walk->rect.w + 4)), 0, |
17 |
- MAX(0, (int16_t)(outputs_walk->rect.w - statusline_width - traypx - 4)), 3, |
18 |
- MIN(outputs_walk->rect.w - traypx - 4, (int)statusline_width), font.height + 2); |
19 |
+ MAX(0, (int16_t)(outputs_walk->rect.w - statusline_width - traypx - 4)), 2, |
20 |
+ MIN(outputs_walk->rect.w - traypx - 4, statusline_width), font.height + 2); |
21 |
} |
22 |
|
23 |
if (!config.disable_ws) { |