aboutsummaryrefslogtreecommitdiff
path: root/popup.c
diff options
context:
space:
mode:
Diffstat (limited to 'popup.c')
-rw-r--r--popup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/popup.c b/popup.c
index 81ae0347..9937d586 100644
--- a/popup.c
+++ b/popup.c
@@ -79,8 +79,8 @@ popup_set_client_cb(struct tty_ctx *ttyctx, struct client *c)
ttyctx->wsx = c->tty.sx;
ttyctx->wsy = c->tty.sy;
- ttyctx->xoff = pd->px + 1;
- ttyctx->yoff = pd->py + 1;
+ ttyctx->xoff = ttyctx->rxoff = pd->px + 1;
+ ttyctx->yoff = ttyctx->ryoff = pd->py + 1;
return (1);
}