diff options
author | nicm <nicm> | 2020-03-24 08:09:43 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-03-24 08:09:43 +0000 |
commit | 8a838b0372163e1a7c0379991545a55028bb9eba (patch) | |
tree | e661c7515692850627863e31a357c2305f4dabcd /screen-redraw.c | |
parent | edca27ae45db7be104bc56a4e48e55cddc40acdb (diff) | |
download | rtmux-8a838b0372163e1a7c0379991545a55028bb9eba.tar.gz rtmux-8a838b0372163e1a7c0379991545a55028bb9eba.tar.bz2 rtmux-8a838b0372163e1a7c0379991545a55028bb9eba.zip |
Add support for overlay popup boxes to show text or output temporarily
above the normal layout. These work similarly to menus and are created
with the display-popup command.
Diffstat (limited to 'screen-redraw.c')
-rw-r--r-- | screen-redraw.c | 2 |
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; |