version 1.15, 2009/12/03 22:50:10 |
version 1.16, 2009/12/22 10:20:08 |
|
|
return; |
return; |
|
|
/* If the current window has vanished, move to the next now. */ |
/* If the current window has vanished, move to the next now. */ |
if (s->curw != NULL) { |
if (s->curw != NULL && |
while (winlink_find_by_index(ww, s->curw->idx) == NULL) |
winlink_find_by_index(ww, s->curw->idx) == NULL && |
session_next(s, 0); |
session_last(s) != 0 && session_previous(s, 0) != 0) |
} |
session_next(s, 0); |
|
|
/* Save the old pointer and reset it. */ |
/* Save the old pointer and reset it. */ |
memcpy(&old_windows, &s->windows, sizeof old_windows); |
memcpy(&old_windows, &s->windows, sizeof old_windows); |