mirror of
https://github.com/tmux/tmux.git
synced 2026-06-20 17:25:57 +00:00
Fix mouse events on tiled pane status line - when panes share a border,
prefer the pane for which the border is the status line. With Dane Jensen.
This commit is contained in:
@@ -699,12 +699,8 @@ server_client_check_mouse_in_pane(struct window_pane *wp, int px, int py,
|
||||
bdr_bottom = fwp->yoff + fwp->sy;
|
||||
if (py == bdr_bottom)
|
||||
break;
|
||||
if (window_pane_is_floating(wp)) {
|
||||
/* Floating pane, check top border. */
|
||||
bdr_top = fwp->yoff - 1;
|
||||
if (py == bdr_top)
|
||||
break;
|
||||
}
|
||||
if (py == bdr_top)
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (fwp != NULL)
|
||||
|
||||
Reference in New Issue
Block a user