=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/popup.c,v retrieving revision 1.15 retrieving revision 1.16 diff -c -r1.15 -r1.16 *** src/usr.bin/tmux/popup.c 2020/05/16 15:34:08 1.15 --- src/usr.bin/tmux/popup.c 2020/05/16 15:41:54 1.16 *************** *** 1,4 **** ! /* $OpenBSD: popup.c,v 1.15 2020/05/16 15:34:08 nicm Exp $ */ /* * Copyright (c) 2020 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: popup.c,v 1.16 2020/05/16 15:41:54 nicm Exp $ */ /* * Copyright (c) 2020 Nicholas Marriott *************** *** 70,77 **** { struct popup_data *pd = ttyctx->arg; if (pd->c->flags & CLIENT_REDRAWOVERLAY) ! return (-1); ttyctx->bigger = 0; ttyctx->wox = 0; --- 70,79 ---- { struct popup_data *pd = ttyctx->arg; + if (c != pd->c) + return (0); if (pd->c->flags & CLIENT_REDRAWOVERLAY) ! return (0); ttyctx->bigger = 0; ttyctx->wox = 0;