summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bar.c b/src/bar.c
index 5ec2ab2..e61c9cd 100644
--- a/src/bar.c
+++ b/src/bar.c
@@ -80,7 +80,7 @@ calc_bar_width (XFontStruct *font)
int
bar_x (screen_info *s, int width)
{
- if (BAR_LOCATION >= 2) return s->root_attr.width - width;
+ if (BAR_LOCATION >= 2) return s->root_attr.width - width - 2;
else return 0;
}