mirror of
https://github.com/tmux/tmux.git
synced 2026-10-12 13:44:44 +00:00
Scale pane on unhiding to window when necessary
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -433,7 +433,7 @@ cmd_join_pane_tile(struct cmdq_item *item, struct args *args, struct window *w,
|
||||
/* It takes its space when it is shown. */
|
||||
if (lc->parent != NULL)
|
||||
layout_set_size(lc, 0, 0, 0, 0);
|
||||
lc->tg.sx = UINT_MAX;
|
||||
lc->hidden.g.sx = UINT_MAX;
|
||||
} else if (layout_insert_tile(w, lc) != 0) {
|
||||
cmdq_error(item, "no space for a new pane");
|
||||
return (CMD_RETURN_ERROR);
|
||||
|
||||
Reference in New Issue
Block a user