mirror of
https://github.com/tmux/tmux.git
synced 2025-04-01 13:18:49 +00:00
Only redraw popup on the client it belongs to.
This commit is contained in:
parent
63390d2dd6
commit
1f6c00f8ef
4
popup.c
4
popup.c
@ -70,8 +70,10 @@ popup_set_client_cb(struct tty_ctx *ttyctx, struct client *c)
|
|||||||
{
|
{
|
||||||
struct popup_data *pd = ttyctx->arg;
|
struct popup_data *pd = ttyctx->arg;
|
||||||
|
|
||||||
|
if (c != pd->c)
|
||||||
|
return (0);
|
||||||
if (pd->c->flags & CLIENT_REDRAWOVERLAY)
|
if (pd->c->flags & CLIENT_REDRAWOVERLAY)
|
||||||
return (-1);
|
return (0);
|
||||||
|
|
||||||
ttyctx->bigger = 0;
|
ttyctx->bigger = 0;
|
||||||
ttyctx->wox = 0;
|
ttyctx->wox = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user