version 1.101, 2014/01/28 23:07:09 |
version 1.102, 2014/02/22 18:01:10 |
|
|
* Previously active pane, if any, must not be the same as the source |
* Previously active pane, if any, must not be the same as the source |
* pane. |
* pane. |
*/ |
*/ |
if (nextwp->layout_cell->parent != NULL) { |
lc = nextwp->layout_cell->parent; |
lastwp = nextwp->layout_cell->parent->lastwp; |
if (lc != NULL && lc->lastwp != NULL) { |
|
lastwp = lc->lastwp; |
if (lastwp != wp && window_pane_visible(lastwp)) |
if (lastwp != wp && window_pane_visible(lastwp)) |
return (lastwp); |
return (lastwp); |
} |
} |