diff options
author | sabetts <sabetts> | 2003-08-10 23:39:47 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2003-08-10 23:39:47 +0000 |
commit | cf5670a2913d31945f685138cdefa86a2582779c (patch) | |
tree | 92fc84eb62a061ea93973c7587a86560e2bff4e0 | |
parent | feb5b1ad8873e110191e7510b334171e06e671dc (diff) | |
download | ratpoison-cf5670a2913d31945f685138cdefa86a2582779c.zip |
(get_mark_box): take the bar padding into account when
calculate the top of the highlight bar.
-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); } |