diff options
Diffstat (limited to 'src/bar.c')
-rw-r--r-- | src/bar.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -84,7 +84,7 @@ bar_x (screen_info *s, int width) { if (defaults.bar_location == SouthEastGravity || defaults.bar_location == NorthEastGravity) - return s->root_attr.width - width - 2; + return s->root_attr.width - width - defaults.bar_border_width * 2; else return 0; } @@ -96,7 +96,7 @@ bar_y (screen_info *s) || defaults.bar_location == NorthEastGravity ) return 0; else - return s->root_attr.height - (FONT_HEIGHT (defaults.font) + defaults.bar_y_padding * 2) - 2; + return s->root_attr.height - (FONT_HEIGHT (defaults.font) + defaults.bar_y_padding * 2) - defaults.bar_border_width * 2; } void |