Created
February 28, 2014 22:51
-
-
Save ThomasAdam/9281713 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/window.c b/window.c | |
| index 1dd70c4..d54a6af 100644 | |
| --- a/window.c | |
| +++ b/window.c | |
| @@ -422,6 +422,9 @@ window_pane_active_lost(struct window_pane *wp, struct window_pane *nextwp) | |
| { | |
| struct layout_cell *lc, *lc2; | |
| + if (nextwp->layout_cell->parent == NULL) | |
| + return; | |
| + | |
| /* Save the target pane in its parent. */ | |
| nextwp->layout_cell->parent->lastwp = nextwp; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment