mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Set the window size as well as the layout size when using the preset
layouts.
This commit is contained in:
3
tty.c
3
tty.c
@ -907,9 +907,8 @@ tty_is_visible(struct tty *tty, const struct tty_ctx *ctx, u_int px, u_int py,
|
||||
lines = 0;
|
||||
|
||||
if (xoff + nx <= ctx->ox || xoff >= ctx->ox + ctx->sx ||
|
||||
yoff + ny <= ctx->oy || yoff >= lines + ctx->oy + ctx->sy) {
|
||||
yoff + ny <= ctx->oy || yoff >= lines + ctx->oy + ctx->sy)
|
||||
return (0);
|
||||
}
|
||||
return (1);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user