Do not reset mouse pane if clicked on status line, it may have been set

by a range.
This commit is contained in:
nicm 2024-08-27 07:25:27 +00:00
parent 2d1e93447e
commit 2917bc5274

View File

@ -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) {