diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | src/bar.c | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,8 @@ 2003-08-10 Shawn Betts <sabetts@sfu.ca> + * src/bar.c (get_mark_box): take the bar padding into account when + calculate the top of the highlight bar. + * src/window.c (give_window_focus): only save the pointer position when win and last_win aren't the same window. @@ -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); } |