mirror of
https://github.com/tmux/tmux.git
synced 2024-12-25 02:48:47 +00:00
Do not call layout_fix_panes if wp is NULL (that is, a popup).
This commit is contained in:
parent
c66628e52b
commit
a854e36f2b
@ -2204,7 +2204,9 @@ screen_write_alternateon(struct screen_write_ctx *ctx, struct grid_cell *gc,
|
||||
|
||||
screen_write_collect_flush(ctx, 0, __func__);
|
||||
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);
|
||||
if (ttyctx.redraw_cb != NULL)
|
||||
@ -2224,7 +2226,9 @@ screen_write_alternateoff(struct screen_write_ctx *ctx, struct grid_cell *gc,
|
||||
|
||||
screen_write_collect_flush(ctx, 0, __func__);
|
||||
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);
|
||||
if (ttyctx.redraw_cb != NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user