mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Fix mouse positioning when the pane is not entirely visible.
This commit is contained in:
@ -450,7 +450,7 @@ server_client_check_mouse(struct client *c, struct key_event *event)
|
||||
x = m->x, y = m->y, b = m->b;
|
||||
log_debug("drag update at %u,%u", x, y);
|
||||
} else {
|
||||
x = m->lx - m->ox, y = m->ly - m->oy, b = m->lb;
|
||||
x = m->lx, y = m->ly, b = m->lb;
|
||||
log_debug("drag start at %u,%u", x, y);
|
||||
}
|
||||
} else if (MOUSE_WHEEL(m->b)) {
|
||||
|
Reference in New Issue
Block a user