mirror of
https://github.com/tmux/tmux.git
synced 2024-12-04 19:58:48 +00:00
Do not reset mouse pane if clicked on status line, it may have been set
by a range.
This commit is contained in:
parent
2d1e93447e
commit
2917bc5274
@ -783,8 +783,7 @@ have_event:
|
||||
log_debug("mouse on pane %%%u border", wp->id);
|
||||
m->wp = wp->id;
|
||||
m->w = wp->window->id;
|
||||
} else
|
||||
m->wp = -1;
|
||||
}
|
||||
|
||||
/* Stop dragging if needed. */
|
||||
if (type != DRAG && type != WHEEL && c->tty.mouse_drag_flag != 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user