mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Send focus events to pane when entering or leaving popup, GitHub issue
3991.
This commit is contained in:
@ -121,6 +121,7 @@ server_client_set_overlay(struct client *c, u_int delay,
|
||||
c->tty.flags |= TTY_FREEZE;
|
||||
if (c->overlay_mode == NULL)
|
||||
c->tty.flags |= TTY_NOCURSOR;
|
||||
window_update_focus(c->session->curw->window);
|
||||
server_redraw_client(c);
|
||||
}
|
||||
|
||||
@ -145,6 +146,7 @@ server_client_clear_overlay(struct client *c)
|
||||
c->overlay_data = NULL;
|
||||
|
||||
c->tty.flags &= ~(TTY_FREEZE|TTY_NOCURSOR);
|
||||
window_update_focus(c->session->curw->window);
|
||||
server_redraw_client(c);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user