mirror of
https://github.com/tmux/tmux.git
synced 2025-09-04 06:56:58 +00:00
Clamping to area needs to use the offset without the status line, since that is
where the window offsets are based.
This commit is contained in:
4
popup.c
4
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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user