mirror of
https://github.com/tmux/tmux.git
synced 2026-05-30 14:16:18 +00:00
Merge branch 'obsd-master'
This commit is contained in:
@@ -191,8 +191,8 @@ screen_write_pane_is_obscured(struct screen_write_ctx *ctx)
|
|||||||
|
|
||||||
if (ctx->wp->xoff < 0 ||
|
if (ctx->wp->xoff < 0 ||
|
||||||
ctx->wp->yoff < 0 ||
|
ctx->wp->yoff < 0 ||
|
||||||
ctx->wp->xoff + ctx->wp->sx >= ctx->wp->window->sx ||
|
ctx->wp->xoff + ctx->wp->sx > ctx->wp->window->sx ||
|
||||||
ctx->wp->yoff + ctx->wp->sy >= ctx->wp->window->sy) {
|
ctx->wp->yoff + ctx->wp->sy > ctx->wp->window->sy) {
|
||||||
ctx->flags |= SCREEN_WRITE_OBSCURED;
|
ctx->flags |= SCREEN_WRITE_OBSCURED;
|
||||||
return (1);
|
return (1);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user