mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 21:56:57 +00:00
Bring back window_pane_visible to stop input going to panes which are
hidden by zoom.
This commit is contained in:
@ -249,6 +249,8 @@ input_key_mouse(struct window_pane *wp, struct mouse_event *m)
|
||||
return;
|
||||
if (cmd_mouse_at(wp, m, &x, &y, 0) != 0)
|
||||
return;
|
||||
if (!window_pane_visible(wp))
|
||||
return;
|
||||
|
||||
/* If this pane is not in button or all mode, discard motion events. */
|
||||
if (MOUSE_DRAG(m->b) &&
|
||||
|
Reference in New Issue
Block a user