diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2024-10-05 12:10:17 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2024-10-05 12:10:17 +0000 |
commit | 387c2ac1c63e2d048981922861f216e2e283f21d (patch) | |
tree | f3f99bc1d8be50a3e36c20129aa556799b9d313f /usr.bin/tmux/server-client.c | |
parent | cd16c9d107afe9734f051887840d95457c93db2d (diff) |
Send focus events to pane when entering or leaving popup, GitHub issue
3991.
Diffstat (limited to 'usr.bin/tmux/server-client.c')
-rw-r--r-- | usr.bin/tmux/server-client.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/tmux/server-client.c b/usr.bin/tmux/server-client.c index 6e63416e9cd..c63c7628950 100644 --- a/usr.bin/tmux/server-client.c +++ b/usr.bin/tmux/server-client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server-client.c,v 1.410 2024/10/01 06:15:47 nicm Exp $ */ +/* $OpenBSD: server-client.c,v 1.411 2024/10/05 12:10:16 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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); } |