Merge master into floating_panes

This commit is contained in:
Dane Jensen
2026-06-11 12:05:11 -07:00
8 changed files with 193 additions and 66 deletions

View File

@@ -2934,7 +2934,6 @@ screen_write_alternateon(struct screen_write_ctx *ctx, struct grid_cell *gc,
{
struct tty_ctx ttyctx;
struct window_pane *wp = ctx->wp;
struct window_pane_resize *r, *r1;
if (wp != NULL && !options_get_number(wp->options, "alternate-screen"))
return;
@@ -2944,10 +2943,7 @@ screen_write_alternateon(struct screen_write_ctx *ctx, struct grid_cell *gc,
return;
if (wp != NULL) {
TAILQ_FOREACH_SAFE (r, &wp->resize_queue, entry, r1) {
TAILQ_REMOVE(&wp->resize_queue, r, entry);
free(r);
}
window_pane_clear_resizes(wp, NULL);
layout_fix_panes(wp->window, NULL);
server_redraw_window_borders(wp->window);
}