mirror of
https://github.com/tmux/tmux.git
synced 2026-05-30 14:16:18 +00:00
Merge branch 'floating_panes' into floating_panes_staging
This commit is contained in:
@@ -1018,7 +1018,8 @@ have_event:
|
|||||||
/* Only change pane if not already dragging a pane border. */
|
/* Only change pane if not already dragging a pane border. */
|
||||||
if (lwp == NULL) {
|
if (lwp == NULL) {
|
||||||
lwp = wp = window_get_active_at(w, px, py);
|
lwp = wp = window_get_active_at(w, px, py);
|
||||||
c->tty.mouse_last_pane = wp->id;
|
if (wp != NULL)
|
||||||
|
c->tty.mouse_last_pane = wp->id;
|
||||||
}
|
}
|
||||||
if (c->tty.mouse_scrolling_flag == 0 &&
|
if (c->tty.mouse_scrolling_flag == 0 &&
|
||||||
loc == KEYC_MOUSE_LOCATION_SCROLLBAR_SLIDER) {
|
loc == KEYC_MOUSE_LOCATION_SCROLLBAR_SLIDER) {
|
||||||
|
|||||||
Reference in New Issue
Block a user