Only redraw popup on the client it belongs to.

This commit is contained in:
nicm
2020-05-16 15:41:54 +00:00
parent 4e053685df
commit 469eda7e44
3 changed files with 5 additions and 6 deletions

View File

@ -70,8 +70,10 @@ popup_set_client_cb(struct tty_ctx *ttyctx, struct client *c)
{
struct popup_data *pd = ttyctx->arg;
if (c != pd->c)
return (0);
if (pd->c->flags & CLIENT_REDRAWOVERLAY)
return (-1);
return (0);
ttyctx->bigger = 0;
ttyctx->wox = 0;