mirror of
https://github.com/tmux/tmux.git
synced 2026-03-26 13:16:37 +00:00
Fix next-layout to ignore floating panes.
This commit is contained in:
@@ -213,7 +213,7 @@ layout_parse(struct window *w, const char *layout, char **cause)
|
||||
|
||||
/* Check this window will fit into the layout. */
|
||||
for (;;) {
|
||||
npanes = window_count_panes(w);
|
||||
npanes = window_count_panes(w, 1);
|
||||
ncells = layout_count_cells(tiled_lc);
|
||||
ncells += layout_count_cells(floating_lc);
|
||||
if (npanes > ncells) {
|
||||
|
||||
Reference in New Issue
Block a user