=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/popup.c,v retrieving revision 1.19 retrieving revision 1.20 diff -c -r1.19 -r1.20 *** src/usr.bin/tmux/popup.c 2020/05/16 16:35:13 1.19 --- src/usr.bin/tmux/popup.c 2020/09/22 06:44:52 1.20 *************** *** 1,4 **** ! /* $OpenBSD: popup.c,v 1.19 2020/05/16 16:35:13 nicm Exp $ */ /* * Copyright (c) 2020 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: popup.c,v 1.20 2020/09/22 06:44:52 nicm Exp $ */ /* * Copyright (c) 2020 Nicholas Marriott *************** *** 262,268 **** pd->sx = m->x - pd->px; pd->sy = m->y - pd->py; ! screen_resize(&pd->s, pd->sx, pd->sy, 0); if (pd->ictx == NULL) popup_write_screen(c, pd); else if (pd->job != NULL) --- 262,268 ---- pd->sx = m->x - pd->px; pd->sy = m->y - pd->py; ! screen_resize(&pd->s, pd->sx - 2, pd->sy - 2, 0); if (pd->ictx == NULL) popup_write_screen(c, pd); else if (pd->job != NULL)