summaryrefslogtreecommitdiff
path: root/src/bar.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2003-08-10 23:39:47 +0000
committersabetts <sabetts>2003-08-10 23:39:47 +0000
commitcf5670a2913d31945f685138cdefa86a2582779c (patch)
tree92fc84eb62a061ea93973c7587a86560e2bff4e0 /src/bar.c
parentfeb5b1ad8873e110191e7510b334171e06e671dc (diff)
downloadratpoison-cf5670a2913d31945f685138cdefa86a2582779c.zip
(get_mark_box): take the bar padding into account when
calculate the top of the highlight bar.
Diffstat (limited to 'src/bar.c')
-rw-r--r--src/bar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bar.c b/src/bar.c
index 22ce0b5..22f8e77 100644
--- a/src/bar.c
+++ b/src/bar.c
@@ -444,7 +444,7 @@ get_mark_box (char *msg, int mark_start, int mark_end,
}
*x = start;
- *y = (start_line - 1) * FONT_HEIGHT (defaults.font);
+ *y = (start_line - 1) * FONT_HEIGHT (defaults.font) + defaults.bar_y_padding;
*height = (end_line - start_line + 1) * FONT_HEIGHT (defaults.font);
}