mirror of
https://github.com/tmux/tmux.git
synced 2026-04-16 12:06:32 +00:00
Fix bugs with tiling floating panes.
This commit is contained in:
@@ -143,6 +143,10 @@ cmd_minimise_pane_minimise(struct window *w, struct window_pane *wp)
|
||||
{
|
||||
struct window_pane *wp2;
|
||||
|
||||
/* Ignore if already minimised to prevent double-redistribution. */
|
||||
if (wp->flags & PANE_MINIMISED)
|
||||
return (CMD_RETURN_NORMAL);
|
||||
|
||||
wp->flags |= PANE_MINIMISED;
|
||||
window_deactivate_pane(w, wp, 1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user