Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam 2024-11-16 18:01:08 +00:00
commit dd9722184b

View File

@ -2358,7 +2358,9 @@ screen_write_alternateon(struct screen_write_ctx *ctx, struct grid_cell *gc,
screen_write_collect_flush(ctx, 0, __func__); screen_write_collect_flush(ctx, 0, __func__);
screen_alternate_on(ctx->s, gc, cursor); screen_alternate_on(ctx->s, gc, cursor);
layout_fix_panes(wp->window, NULL);
if (wp != NULL)
layout_fix_panes(wp->window, NULL);
screen_write_initctx(ctx, &ttyctx, 1); screen_write_initctx(ctx, &ttyctx, 1);
if (ttyctx.redraw_cb != NULL) if (ttyctx.redraw_cb != NULL)
@ -2378,7 +2380,9 @@ screen_write_alternateoff(struct screen_write_ctx *ctx, struct grid_cell *gc,
screen_write_collect_flush(ctx, 0, __func__); screen_write_collect_flush(ctx, 0, __func__);
screen_alternate_off(ctx->s, gc, cursor); screen_alternate_off(ctx->s, gc, cursor);
layout_fix_panes(wp->window, NULL);
if (wp != NULL)
layout_fix_panes(wp->window, NULL);
screen_write_initctx(ctx, &ttyctx, 1); screen_write_initctx(ctx, &ttyctx, 1);
if (ttyctx.redraw_cb != NULL) if (ttyctx.redraw_cb != NULL)