aboutsummaryrefslogtreecommitdiff
path: root/screen-redraw.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2021-08-14 01:34:54 +0100
committerThomas Adam <thomas@xteddy.org>2021-08-14 01:34:54 +0100
commit54773d23b5ceb779c524dcac6bf3b848886fb6d6 (patch)
tree5c60007637121f63c8c730a04f4e8e741577c21a /screen-redraw.c
parent4c07367bfe626fce990f5b5b2d00516ae8249a93 (diff)
parent63aa96864280ff07f706ebbae302b7c15abb964f (diff)
downloadrtmux-54773d23b5ceb779c524dcac6bf3b848886fb6d6.tar.gz
rtmux-54773d23b5ceb779c524dcac6bf3b848886fb6d6.tar.bz2
rtmux-54773d23b5ceb779c524dcac6bf3b848886fb6d6.zip
Merge branch 'obsd-master' into master
Diffstat (limited to 'screen-redraw.c')
-rw-r--r--screen-redraw.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/screen-redraw.c b/screen-redraw.c
index 3df57383..82e390cd 100644
--- a/screen-redraw.c
+++ b/screen-redraw.c
@@ -624,7 +624,7 @@ screen_redraw_screen(struct client *c)
}
if (c->overlay_draw != NULL && (flags & CLIENT_REDRAWOVERLAY)) {
log_debug("%s: redrawing overlay", c->name);
- c->overlay_draw(c, &ctx);
+ c->overlay_draw(c, c->overlay_data, &ctx);
}
tty_reset(&c->tty);
@@ -690,7 +690,8 @@ screen_redraw_draw_borders_cell(struct screen_redraw_ctx *ctx, u_int i, u_int j)
struct grid_cell gc;
const struct grid_cell *tmp;
- if (c->overlay_check != NULL && !c->overlay_check(c, x, y))
+ if (c->overlay_check != NULL &&
+ !c->overlay_check(c, c->overlay_data, x, y))
return;
cell_type = screen_redraw_check_cell(c, x, y, pane_status, &wp);