diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-03-12 14:59:27 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-03-12 14:59:27 +0000 |
commit | 8840f2d629639fe77f4a51eb02c0fa119398f819 (patch) | |
tree | 44d2d95144eb0ea580d04e73b4b6ba9964d9148d | |
parent | d32a546d6e2780c774417788aca18d97ebe0dfae (diff) | |
parent | 8aa40ec1c71f9aad61c53991bdd2ea54f08d86ec (diff) | |
download | rtmux-8840f2d629639fe77f4a51eb02c0fa119398f819.tar.gz rtmux-8840f2d629639fe77f4a51eb02c0fa119398f819.tar.bz2 rtmux-8840f2d629639fe77f4a51eb02c0fa119398f819.zip |
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
-rw-r--r-- | window.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); |