The branch, master has been updated
via 8aa40ec1c71f9aad61c53991bdd2ea54f08d86ec (commit)
from 543420ccd2c3c23437405b391e3f9fe1d05223f7 (commit)
- Log -----------------------------------------------------------------
commit 8aa40ec1c71f9aad61c53991bdd2ea54f08d86ec
Author: Nicholas Marriott <[email protected]>
Commit: Nicholas Marriott <[email protected]>
Don't zoom windows with one pane, from Romain Francoise.
---
window.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/window.c b/window.c
index fc06e87..2be51e9 100644
--- a/window.c
+++ b/window.c
@@ -480,6 +480,10 @@ window_zoom(struct window_pane *wp)
if (!window_pane_visible(wp))
return (-1);
+
+ if (window_count_panes(w) == 1)
+ return (-1);
+
if (w->active != wp)
window_set_active_pane(w, wp);
-----------------------------------------------------------------------
Summary of changes:
window.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
hooks/post-receive
--
tmux
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
tmux-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs