diff options
| author | ne_mene <[email protected]> | 2026-03-03 08:26:16 +0100 |
|---|---|---|
| committer | ne_mene <[email protected]> | 2026-03-03 08:26:16 +0100 |
| commit | cb43ae94fbf1d3386fec565fce38639875f65322 (patch) | |
| tree | 69154fa86ec4cfb3f77c543455dea0b4bd52078c /src/tsar.c | |
| parent | dfb2acb972e15ce319f90cb7df0d85f8105ec699 (diff) | |
fixed rectangle width (gap in mind)
Diffstat (limited to 'src/tsar.c')
| -rw-r--r-- | src/tsar.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -120,9 +120,9 @@ void draw_text( ); size_t width = font->max_advance_width * utf8_strlen(comp->data); - width += comp->margin_left + comp->margin_right; + width += comp->margin_left + comp->margin_right + comp_gap; - XftDrawRect(xft_draw, comp->bg, x, y, width, bar_height); + XftDrawRect(xft_draw, comp->bg, x - comp_gap/2, y, width, bar_height); x += comp->margin_left; |
