=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/Attic/cmd-up-pane.c,v retrieving revision 1.2 retrieving revision 1.3 diff -c -r1.2 -r1.3 *** src/usr.bin/tmux/Attic/cmd-up-pane.c 2009/07/13 23:11:35 1.2 --- src/usr.bin/tmux/Attic/cmd-up-pane.c 2009/07/14 07:23:36 1.3 *************** *** 1,4 **** ! /* $OpenBSD: cmd-up-pane.c,v 1.2 2009/07/13 23:11:35 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: cmd-up-pane.c,v 1.3 2009/07/14 07:23:36 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott *************** *** 55,61 **** if (w->active == NULL) w->active = TAILQ_LAST(&w->panes, window_panes); layout_refresh(w, 1); ! } while (w->active->flags & PANE_HIDDEN); return (0); } --- 55,61 ---- if (w->active == NULL) w->active = TAILQ_LAST(&w->panes, window_panes); layout_refresh(w, 1); ! } while (!window_pane_visible(w->active)); return (0); }