diff options
Diffstat (limited to 'patch/bar_awesomebar.c')
| -rw-r--r-- | patch/bar_awesomebar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patch/bar_awesomebar.c b/patch/bar_awesomebar.c index e3b80cc..4bf537e 100644 --- a/patch/bar_awesomebar.c +++ b/patch/bar_awesomebar.c @@ -39,7 +39,7 @@ draw_awesomebar(Bar *bar, BarDrawArg *a) pad = lrpad / 2; #if BAR_CENTEREDWINDOWNAME_PATCH - if (TEXTW(c->name) < w) + if (TEXTW(c->name) < tabw) pad = (tabw - TEXTW(c->name) + lrpad) / 2; #endif // BAR_CENTEREDWINDOWNAME_PATCH @@ -77,4 +77,4 @@ click_awesomebar(Bar *bar, Arg *arg, BarClickArg *a) return ClkWinTitle; } return -1; -}
\ No newline at end of file +} |
