mirror of
https://github.com/tmux/tmux.git
synced 2025-12-21 06:46:08 +00:00
Fix y offset of mouse if status at top. GitHub issue 4738 from Michael
Grant.
This commit is contained in:
@@ -627,7 +627,7 @@ window_copy_scroll1(struct window_mode_entry *wme, struct window_pane *wp,
|
||||
new_slider_y = sb_top - wp->yoff + (sb_height - slider_height);
|
||||
} else {
|
||||
/* Slider is somewhere in the middle. */
|
||||
new_slider_y = my - wp->yoff - sl_mpos + 1;
|
||||
new_slider_y = my - wp->yoff - sl_mpos;
|
||||
}
|
||||
|
||||
if (TAILQ_FIRST(&wp->modes) == NULL ||
|
||||
|
||||
Reference in New Issue
Block a user