Only redraw popup on the client it belongs to.

This commit is contained in:
Nicholas Marriott 2020-05-05 10:02:47 +01:00
parent 63390d2dd6
commit 1f6c00f8ef

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;