aboutsummaryrefslogtreecommitdiff
path: root/screen-redraw.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2020-03-26 11:11:37 +0000
committerThomas Adam <thomas@xteddy.org>2020-03-26 11:11:37 +0000
commit8a57d14f4bf9edacaa5a7f720d589e650b8f22be (patch)
treecf8e38d3da3cc84a628f2f985de2eea7cb6bf2f1 /screen-redraw.c
parentf652d777a61c1591805a6251160e35674699ced8 (diff)
parent55b14cdc6aa23870843dd31239e56e8816bf90ff (diff)
downloadrtmux-8a57d14f4bf9edacaa5a7f720d589e650b8f22be.tar.gz
rtmux-8a57d14f4bf9edacaa5a7f720d589e650b8f22be.tar.bz2
rtmux-8a57d14f4bf9edacaa5a7f720d589e650b8f22be.zip
Merge branch 'obsd-master'
Diffstat (limited to 'screen-redraw.c')
-rw-r--r--screen-redraw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/screen-redraw.c b/screen-redraw.c
index e7f4f077..211f7f79 100644
--- a/screen-redraw.c
+++ b/screen-redraw.c
@@ -482,6 +482,8 @@ screen_redraw_draw_borders_cell(struct screen_redraw_ctx *ctx, u_int i, u_int j,
u_int type, x = ctx->ox + i, y = ctx->oy + j;
int flag, pane_status = ctx->pane_status;
+ if (c->overlay_check != NULL && !c->overlay_check(c, x, y))
+ return;
type = screen_redraw_check_cell(c, x, y, pane_status, &wp);
if (type == CELL_INSIDE)
return;