mirror of
https://github.com/tmux/tmux.git
synced 2026-05-30 14:16:18 +00:00
Bring over some of layout and positioning code for floating panes, by
Michael Grant.
This commit is contained in:
@@ -185,7 +185,7 @@ server_kill_pane(struct window_pane *wp)
|
||||
{
|
||||
struct window *w = wp->window;
|
||||
|
||||
if (window_count_panes(w) == 1) {
|
||||
if (window_count_panes(w, 1) == 1) {
|
||||
server_kill_window(w, 1);
|
||||
recalculate_sizes();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user