summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrcyeske <rcyeske>2000-10-25 06:15:15 +0000
committerrcyeske <rcyeske>2000-10-25 06:15:15 +0000
commitf5bd8fd2fcd5f1773aa0d918ec20ac48c8f5e06d (patch)
treeb0ad26aa3379a2a5f07c1bf59c98a1f8a693ca21
parent00ef34a4e0e7df8e7dabc01c04b86d8e99b724a0 (diff)
downloadratpoison-f5bd8fd2fcd5f1773aa0d918ec20ac48c8f5e06d.zip
fixed right hand side bar location: right-most border now shows
-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;
}