diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-05-05 10:02:47 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-05-05 10:02:47 +0100 |
commit | 1f6c00f8ef2faa462ab092f41ada8d44d7358596 (patch) | |
tree | f2ebfa83357e2fe24389708673e8ccca5ac39d45 | |
parent | 63390d2dd65e3294d958b579fbdff365a5eabe76 (diff) | |
download | rtmux-1f6c00f8ef2faa462ab092f41ada8d44d7358596.tar.gz rtmux-1f6c00f8ef2faa462ab092f41ada8d44d7358596.tar.bz2 rtmux-1f6c00f8ef2faa462ab092f41ada8d44d7358596.zip |
Only redraw popup on the client it belongs to.
-rw-r--r-- | popup.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; |