mirror of
https://github.com/tmux/tmux.git
synced 2026-03-26 13:16:37 +00:00
Fix for window size taller than tty.
This commit is contained in:
@@ -875,9 +875,11 @@ have_event:
|
||||
* scrollbar.
|
||||
*/
|
||||
if (where == NOWHERE) {
|
||||
if (c->tty.mouse_scrolling_flag)
|
||||
if (c->tty.mouse_scrolling_flag) {
|
||||
where = SCROLLBAR_SLIDER;
|
||||
else {
|
||||
m->wp = c->tty.mouse_wp->id;
|
||||
m->w = c->tty.mouse_wp->window->id;
|
||||
} else {
|
||||
px = x;
|
||||
if (m->statusat == 0 && y >= m->statuslines)
|
||||
py = y - m->statuslines;
|
||||
|
||||
Reference in New Issue
Block a user